Skip to content

Commit

Permalink
V4L/DVB (13607): vpif: move vpif_remove to .devexit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Uwe Kleine-König authored and Mauro Carvalho Chehab committed Dec 16, 2009
1 parent 9d89382 commit 0b0a860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/davinci/vpif.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ static int __init vpif_probe(struct platform_device *pdev)
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);
Expand Down

0 comments on commit 0b0a860

Please sign in to comment.