V4L/DVB (13604): vpss: move vpss_remove to .devexit
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 10 Dec 2009 19:59:02 +0000 (16:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 16 Dec 2009 02:18:36 +0000 (00:18 -0200)
The function vpss_remove is used only wrapped by __devexit_p so define
it using __devexit.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/davinci/vpss.c

index 453236bd7559b9a8613bd7d62578430c6baf4e1e..7ee72ecd3d81baea218dec5b41ab963f9978b3c4 100644 (file)
@@ -268,7 +268,7 @@ fail1:
        return status;
 }
 
-static int vpss_remove(struct platform_device *pdev)
+static int __devexit vpss_remove(struct platform_device *pdev)
 {
        iounmap(oper_cfg.vpss_bl_regs_base);
        release_mem_region(oper_cfg.r1->start, oper_cfg.len1);