projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eb73c6
)
staging: iio: max517: Fix iio_info changes
author
Roland Stigge
<
[email protected]
>
Thu, 9 Jun 2011 14:21:00 +0000
(16:21 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Thu, 9 Jun 2011 17:07:47 +0000
(10:07 -0700)
struct iio_info introduced a bug where the second channel of a MAX518 can't be
used. This commit fixes the typo (using max518 instead of the max517 struct).
Signed-off-by: Roland Stigge <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/iio/dac/max517.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/dac/max517.c
b/drivers/staging/iio/dac/max517.c
index 881768df47a6b813a417dcffe1a3f9cce2ecf898..2fe34d21b6aa2268658d4c6148ad07fa11087747 100644
(file)
--- a/
drivers/staging/iio/dac/max517.c
+++ b/
drivers/staging/iio/dac/max517.c
@@
-195,7
+195,7
@@
static const struct iio_info max517_info = {
};
static const struct iio_info max518_info = {
- .attrs = &max51
7
_attribute_group,
+ .attrs = &max51
8
_attribute_group,
.driver_module = THIS_MODULE,
};