Browse Source

V4L/DVB (13607): vpif: move vpif_remove to .devexit

The function vpif_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>
Uwe Kleine-König 15 years ago
parent
commit
0b0a860fec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/video/davinci/vpif.c

+ 1 - 1
drivers/media/video/davinci/vpif.c

@@ -266,7 +266,7 @@ fail:
 	return status;
 }
 
-static int vpif_remove(struct platform_device *pdev)
+static int __devexit vpif_remove(struct platform_device *pdev)
 {
 	iounmap(vpif_base);
 	release_mem_region(res->start, res_len);