]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
GPIO: OMAP: fix section mismatch warnings
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 27 May 2011 20:56:12 +0000 (13:56 -0700)
committerKevin Hilman <khilman@ti.com>
Mon, 6 Jun 2011 23:11:55 +0000 (16:11 -0700)
commitd52b31deffe1956ac62d0b81b915c9b52cffb814
treeab1f636482534f060889bd789f07fc7690e99b28
parent59c5f46fbe01a00eedf54a23789634438bb80603
GPIO: OMAP: fix section mismatch warnings

WARNING: arch/arm/plat-omap/built-in.o(.devinit.text+0x46c): Section mismatch in reference from the function omap_gpio_probe() to the function .init.text:omap_gpio_chip_init()
The function __devinit omap_gpio_probe() references
a function __init omap_gpio_chip_init().
If omap_gpio_chip_init is only used by omap_gpio_probe then
annotate omap_gpio_chip_init with a matching annotation.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/gpio/gpio-omap.c