aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-05-27 16:56:12 -0400
committerKevin Hilman <khilman@ti.com>2011-06-06 19:11:55 -0400
commitd52b31deffe1956ac62d0b81b915c9b52cffb814 (patch)
treeab1f636482534f060889bd789f07fc7690e99b28 /drivers/gpio
parent59c5f46fbe01a00eedf54a23789634438bb80603 (diff)
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-omap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c
index 6c51191da567..76709b03572e 100644
--- a/drivers/gpio/gpio-omap.c
+++ b/drivers/gpio/gpio-omap.c
@@ -1524,7 +1524,7 @@ static void omap_gpio_mod_init(struct gpio_bank *bank, int id)
1524 } 1524 }
1525} 1525}
1526 1526
1527static void __init omap_gpio_chip_init(struct gpio_bank *bank) 1527static void __devinit omap_gpio_chip_init(struct gpio_bank *bank)
1528{ 1528{
1529 int j; 1529 int j;
1530 static int gpio; 1530 static int gpio;