diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-10-27 00:50:06 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-29 15:39:30 +0100 |
commit | 46c529cf79f6c7b239f83b4997d676dd5b51908c (patch) | |
tree | 2d04be82f11d82a48ab3b72fa0e71862bed24ffa /arch/arm/mach-mx25 | |
parent | 8250_pci: add IBM Saturn serial card (diff) | |
download | linux-46c529cf79f6c7b239f83b4997d676dd5b51908c.tar.xz linux-46c529cf79f6c7b239f83b4997d676dd5b51908c.zip |
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>
Diffstat (limited to 'arch/arm/mach-mx25')
0 files changed, 0 insertions, 0 deletions