From: Sam Ravnborg Date: Tue, 7 Aug 2007 18:03:27 +0000 (+0100) Subject: [ARM] 4544/1: arm: fix section mismatch in pxa fb X-Git-Tag: v2.6.23-rc4~112^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e6a20c9c7848fefa64731ac3d1d88279c447371;p=pandora-kernel.git [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 Signed-off-by: Russell King --- Reading git-diff-tree failed