video/ili9320: do not mark exported functions __devexit
authorArnd Bergmann <arnd@arndb.de>
Tue, 15 May 2012 21:02:58 +0000 (15:02 -0600)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sat, 9 Jun 2012 12:51:11 +0000 (12:51 +0000)
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 <arnd@arndb.de>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/backlight/ili9320.c

index 5118a9f..b67485a 100644 (file)
@@ -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);