From: Uwe Kleine-König Date: Fri, 5 Mar 2010 21:44:21 +0000 (-0800) Subject: rtc-pcf2123: move pcf2123_remove to .devexit.text X-Git-Tag: v2.6.34-rc1~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b51e8293182764ca7b1a1bdb28a5c5dc60152c76;p=platform%2Fupstream%2Fkernel-adaptation-pc.git rtc-pcf2123: move pcf2123_remove to .devexit.text The function pcf2123_remove is used only wrapped by __devexit_p so define it using __devexit. Signed-off-by: Uwe Kleine-König Signed-off-by: Alessandro Zummo Cc: Christian Pellegrin Cc: Chris Verges Cc: Paul Gortmaker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/rtc/rtc-pcf2123.c b/drivers/rtc/rtc-pcf2123.c index e75df9d..2ceb365 100644 --- a/drivers/rtc/rtc-pcf2123.c +++ b/drivers/rtc/rtc-pcf2123.c @@ -315,7 +315,7 @@ kfree_exit: return ret; } -static int pcf2123_remove(struct spi_device *spi) +static int __devexit pcf2123_remove(struct spi_device *spi) { struct pcf2123_plat_data *pdata = spi->dev.platform_data; int i;