projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91556c6
)
iio:adc:ad799x: Make chan_spec const in ad799x_chip_config struct
author
Peter Meerwald
<pmeerw@pmeerw.net>
Sat, 6 Dec 2014 05:54:00 +0000
(
05:54
+0000)
committer
Jonathan Cameron
<jic23@kernel.org>
Sun, 13 Jul 2014 20:56:49 +0000
(21:56 +0100)
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/ad799x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/adc/ad799x.c
b/drivers/iio/adc/ad799x.c
index b8a811726d2f74052b08ba606f710892e368cf61..92401c958ea244ef971caf1ee2e128131855928c 100644
(file)
--- a/
drivers/iio/adc/ad799x.c
+++ b/
drivers/iio/adc/ad799x.c
@@
-107,7
+107,7
@@
enum {
* @info: pointer to iio_info struct
*/
struct ad799x_chip_config {
-
struct iio_chan_spec
channel[9];
+
const struct iio_chan_spec
channel[9];
u16 default_config;
const struct iio_info *info;
};