diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-08-07 20:03:27 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-08-12 00:58:24 +0200 |
commit | 1e6a20c9c7848fefa64731ac3d1d88279c447371 (patch) | |
tree | 7867e7e45f02e28ca4c2bb362c3706c90b99e3e3 /scripts/mkcompile_h | |
parent | SLUB: Fix format specifier in Documentation/vm/slabinfo.c (diff) | |
download | linux-1e6a20c9c7848fefa64731ac3d1d88279c447371.tar.xz linux-1e6a20c9c7848fefa64731ac3d1d88279c447371.zip |
[ARM] 4544/1: arm: fix section mismatch in pxa fb
Fix following section mismatch warning:
WARNING: drivers/built-in.o(.text+0x73d0): Section mismatch: reference to .init.data: (between 'pxafb_setup' and 'pxafb_init')
The warning are caused by __devinit pxafb_setup() that refers to a
variable marked __initdata. In a hotplug scenario we would have a
reference to the freed .init.data section. Fix this by declaring
g_options __devinitdata.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'scripts/mkcompile_h')
0 files changed, 0 insertions, 0 deletions