linux/drivers/gpio
Mike Frysinger 46c529cf79 twl4030-gpio: remove __devexit markings from remove func
The gpio_twl4030_probe() function calls gpio_twl4030_remove(), and the
former has __devinit, so the latter cannot use __devexit.  Otherwise we
hit the section mismatch warning:

WARNING: drivers/gpio/built-in.o(.devinit.text+0x71a): Section mismatch
	in reference from the function _gpio_twl4030_probe() to the function
	.devexit.text:_gpio_twl4030_remove()
The function __devinit _gpio_twl4030_probe() references a function
	__devexit _gpio_twl4030_remove().
This is often seen when error handling in the init function uses
	functionality in the exit path.
The fix is often to remove the __devexit annotation of
	_gpio_twl4030_remove() so it may be used outside an exit section.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-10-29 07:39:30 -07:00
..
adp5520-gpio.c gpio: gpio support for ADP5520/ADP5501 MFD PMICs 2009-09-23 07:39:48 -07:00
bt8xxgpio.c gpio: include <linux/gpio.h> not <asm/gpio.h> 2009-09-23 07:39:48 -07:00
gpiolib.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
Kconfig gpio: gpio support for ADP5520/ADP5501 MFD PMICs 2009-09-23 07:39:48 -07:00
langwell_gpio.c
Makefile gpio: gpio support for ADP5520/ADP5501 MFD PMICs 2009-09-23 07:39:48 -07:00
max732x.c
max7301.c
mc33880.c
mcp23s08.c gpio: include <linux/gpio.h> not <asm/gpio.h> 2009-09-23 07:39:48 -07:00
pca953x.c gpio: include <linux/gpio.h> not <asm/gpio.h> 2009-09-23 07:39:48 -07:00
pcf857x.c Merge branch 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging 2009-09-23 09:30:48 -07:00
pl061.c
twl4030-gpio.c twl4030-gpio: remove __devexit markings from remove func 2009-10-29 07:39:30 -07:00
ucb1400_gpio.c
vr41xx_giu.c
wm831x-gpio.c
xilinx_gpio.c