[PATCH 30/38] move mipid_spi_remove to .devexit.text

Uwe Kleine-König <[email protected]> Tue, 24 Nov 2009 22:07:25 +0100
Newsgroups gmane.linux.fbdev.devel,gmane.linux.kernel,gmane.linux.ports.arm.omap
Message-ID <1259096853-18909-30-git-send-email-u.kleine-koenig@pengutronix.de>
The function mipid_spi_remove is used only wrapped by __devexit_p so
define it using __devexit.

Signed-off-by: Uwe Kleine-König <[email protected]>
Cc: Arnaud Patard <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Mike Wege <[email protected]>
Cc: Imre Deak <[email protected]>
Cc: Hiroshi DOYU <[email protected]>
Cc: [email protected]
Cc: Imre Deak <[email protected]>
Cc: [email protected]
Cc: [email protected]
---
 drivers/video/omap/lcd_mipid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/omap/lcd_mipid.c b/drivers/video/omap/lcd_mipid.c
index 918ee89..24889ca 100644
--- a/drivers/video/omap/lcd_mipid.c
+++ b/drivers/video/omap/lcd_mipid.c
@@ -587,7 +587,7 @@ static int mipid_spi_probe(struct spi_device *spi)
 	return 0;
 }
 
-static int mipid_spi_remove(struct spi_device *spi)
+static int __devexit mipid_spi_remove(struct spi_device *spi)
 {
 	struct mipid_device *md = dev_get_drvdata(&spi->dev);
 
-- 
1.6.5.2


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Linux-fbdev-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel