diff options
| author | Alberto Panizzo <[email protected]> | 2010-11-01 17:00:03 +0000 |
|---|---|---|
| committer | Sascha Hauer <[email protected]> | 2010-11-02 07:49:40 +0000 |
| commit | f0573e6db1d1e637e20011f40264b2f5b5880587 (patch) | |
| tree | e37207bff2b140e9a67b8a66dd5c134061c98edb /lib/dynamic_debug.c | |
| parent | Linux 2.6.37-rc1 (diff) | |
| download | kernel-f0573e6db1d1e637e20011f40264b2f5b5880587.tar.gz kernel-f0573e6db1d1e637e20011f40264b2f5b5880587.zip | |
mach-pcm037_eet: Fix section mismatch for eet_init_devices()
This function should be marked as __init because it is used only
in the init phase.
This fix the compiler warning:
LD arch/arm/mach-mx3/built-in.o
WARNING: arch/arm/mach-mx3/built-in.o(.text+0x1328): Section mismatch in reference from the function eet_init_devices() to the (unknown reference) .init.rodata:(unknown)
The function eet_init_devices() references
the (unknown reference) __initconst (unknown).
This is often because eet_init_devices lacks a __initconst
annotation or the annotation of (unknown) is wrong.
Signed-off-by: Alberto Panizzo <[email protected]>
Signed-off-by: Sascha Hauer <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
