ARM: OMAP1: Fix a bunch of GPIO related section warnings after initdata got corrected
authorTony Lindgren <tony@atomide.com>
Fri, 18 Oct 2013 15:54:16 +0000 (08:54 -0700)
committerKevin Hilman <khilman@linaro.org>
Fri, 18 Oct 2013 17:50:51 +0000 (10:50 -0700)
commitffd076eea3226e792b2087018733bd794e8c9666
tree342730b45fbfbf39970292baefbb22f2b8eace75
parent9657b772e9051232b686500314cc465fa0782ead
ARM: OMAP1: Fix a bunch of GPIO related section warnings after initdata got corrected

Commit f8e7ba66 (ARM: OMAP1: fix incorrect placement of
__initdata tag) fixed things but we started seeing section
warnings. Looks like I missed those in my automatic
build scripts:

Section mismatch in reference from the variable omap7xx_gpio6 to the (unknown reference) .init.data:(unknown)
Section mismatch in reference from the variable omap7xx_gpio6 to the (unknown reference) .init.data:(unknown)
Section mismatch in reference from the variable omap7xx_gpio5 to the (unknown reference) .init.data:(unknown)
...

Fix the issue by removing __initdata for the resources.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
arch/arm/mach-omap1/gpio15xx.c
arch/arm/mach-omap1/gpio16xx.c
arch/arm/mach-omap1/gpio7xx.c