V4L/DVB (13606): vpfe_capture: move vpfe_remove to .devexit

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>
This commit is contained in:
Uwe Kleine-König 2009-12-10 17:01:13 -03:00 committed by Mauro Carvalho Chehab
parent 50e55fd13f
commit 9d8938248c
1 changed files with 1 additions and 1 deletions

View File

@ -2090,7 +2090,7 @@ static __init int vpfe_probe(struct platform_device *pdev)
/*
* 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;