summaryrefslogtreecommitdiff
path: root/drivers/hwmon/ad7314.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2012-03-31 00:04:55 +0400
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-04-01 21:24:36 +0400
commit6f7805a8d9dc6fa8af999f8603188157505558d9 (patch)
tree69bd439afdba007019204a0580c97495c3d4b033 /drivers/hwmon/ad7314.c
parent31e354ee653c3d85e802a372f27224130fc95011 (diff)
downloadlinux-6f7805a8d9dc6fa8af999f8603188157505558d9.tar.xz
hwmon: (w83627ehf) mark const init data with __initconst instead of __initdata
As long as there is no other non-const variable marked __initdata in the same compilation unit it doesn't hurt. If there were one however compilation would fail with error: $variablename causes a section type conflict because a section containing const variables is marked read only and so cannot contain non-const variables. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Jean Delvare <khali@linux-fr.org> Cc: Guenter Roeck <guenter.roeck@ericsson.com> Cc: lm-sensors@lm-sensors.org Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/ad7314.c')
0 files changed, 0 insertions, 0 deletions