Archived
14
0
Fork 0

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>
This commit is contained in:
Uwe Kleine-König 2009-12-10 17:02:16 -03:00 committed by Mauro Carvalho Chehab
parent 9d8938248c
commit 0b0a860fec

View file

@ -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);