linux/arch/arm/plat-nomadik
Uwe Kleine-König fd0d67d62d ARM: 6347/2: nomadik: move nmk_gpio_probe to .devinit.text
This fixes a section mismatch reported by modpost:

	WARNING: arch/arm/plat-nomadik/built-in.o(.data+0x100): Section mismatch in reference from the variable nmk_gpio_driver to the function .init.text:nmk_gpio_probe()
	The variable nmk_gpio_driver references
	the function __init nmk_gpio_probe()
	If the reference is valid then annotate the
	variable with __init* or __refdata (see linux/init.h) or name the variable:
	*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,

According to Rabin VINCENT the alternative to use platform_driver_probe
won't work because the "platform devices are not yet registered when
nmk_gpio_init() is called."

Acked-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-09-02 16:37:40 +01:00
..
include/plat ARM: 6354/1: nomadik-gpio: allow control of sleep mode direction and pull up 2010-09-02 15:52:19 +01:00
gpio.c ARM: 6347/2: nomadik: move nmk_gpio_probe to .devinit.text 2010-09-02 16:37:40 +01:00
Kconfig ARM: 5969/1: nomadik: move gpio to plat-nomadik 2010-03-19 18:29:31 +00:00
Makefile ARM: 5969/1: nomadik: move gpio to plat-nomadik 2010-03-19 18:29:31 +00:00
timer.c ARM: 6153/1: nomadik MTU to use dynamic shift and mult assignment 2010-06-16 22:29:31 +01:00