# \[PATCH 30/38\] move mipid\_spi\_remove to .devexit.text

- Subsystems: FRAMEBUFFER LAYER, THE REST
- Maintainers: Helge Deller, Linus Torvalds
- List: linux-fbdev
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-fbdev/2009/11/1328196/t

## \[PATCH 30/38\] move mipid\_spi\_remove to .devexit.text

- From: Uwe Kleine-König \<hidden\>
- Date: 2009-11-24 21:12:37 
- Message: https://ratatoskr.run/linux-fbdev/2009/11/1328196.md

```text
The function mipid_spi_remove is used only wrapped by __devexit_p so
define it using __devexit.

Signed-off-by: Uwe Kleine-KÃ¶nig <redacted>
Cc: Arnaud Patard <redacted>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Mike Wege <redacted>
Cc: Imre Deak <redacted>
Cc: Hiroshi DOYU <redacted>
Cc: <redacted>
Cc: Imre Deak <redacted>
Cc: <redacted>
Cc: <redacted>
---
 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
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
```
