V4L/DVB (13606): vpfe_capture: move vpfe_remove to .devexit
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 10 Dec 2009 20:01:13 +0000 (17:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 16 Dec 2009 02:18:37 +0000 (00:18 -0200)
The function vpfe_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/vpfe_capture.c

index f2d3c9b6df10d0842c31b5d1ace7c1dfa3c8a7e6..87e97962ff57ebd842f72398c01b10026f22b3e6 100644 (file)
@@ -2090,7 +2090,7 @@ probe_free_dev_mem:
 /*
  * vpfe_remove : It un-register device from V4L2 driver
  */
-static int vpfe_remove(struct platform_device *pdev)
+static int __devexit vpfe_remove(struct platform_device *pdev)
 {
        struct vpfe_device *vpfe_dev = platform_get_drvdata(pdev);
        struct resource *res;