From: Arnd Bergmann Date: Tue, 15 May 2012 21:02:58 +0000 (-0600) Subject: video/ili9320: do not mark exported functions __devexit X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ff9440465c82099ba3365930a97f90b3acfcc980;p=openwrt%2Fstaging%2Fblogic.git video/ili9320: do not mark exported functions __devexit No symbol can be exported when the section is discarded - the only solution I could think of is not to mark symbols as __devexit when they are exported. Signed-off-by: Arnd Bergmann Signed-off-by: Mathieu Poirier Signed-off-by: Florian Tobias Schandinat --- diff --git a/drivers/video/backlight/ili9320.c b/drivers/video/backlight/ili9320.c index 5118a9f029ab..b67485a595a8 100644 --- a/drivers/video/backlight/ili9320.c +++ b/drivers/video/backlight/ili9320.c @@ -267,7 +267,7 @@ int __devinit ili9320_probe_spi(struct spi_device *spi, EXPORT_SYMBOL_GPL(ili9320_probe_spi); -int __devexit ili9320_remove(struct ili9320 *ili) +int ili9320_remove(struct ili9320 *ili) { ili9320_power(ili, FB_BLANK_POWERDOWN);