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

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to