diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2012-03-31 00:04:55 +0400 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-04-01 21:24:36 +0400 |
commit | 6f7805a8d9dc6fa8af999f8603188157505558d9 (patch) | |
tree | 69bd439afdba007019204a0580c97495c3d4b033 /drivers/w1/w1_int.h | |
parent | 31e354ee653c3d85e802a372f27224130fc95011 (diff) | |
download | linux-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/w1/w1_int.h')
0 files changed, 0 insertions, 0 deletions