diff options
| author | Uwe Kleine-König <[email protected]> | 2012-03-30 20:04:55 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2012-04-01 17:24:36 +0000 |
| commit | 6f7805a8d9dc6fa8af999f8603188157505558d9 (patch) | |
| tree | 69bd439afdba007019204a0580c97495c3d4b033 /lib/debugobjects.c | |
| parent | hwmon: (acpi_power_meter) fix lockdep spew due to non-static lock class (diff) | |
| download | kernel-6f7805a8d9dc6fa8af999f8603188157505558d9.tar.gz kernel-6f7805a8d9dc6fa8af999f8603188157505558d9.zip | |
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 <[email protected]>
Cc: Jean Delvare <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: [email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
