From: Uwe Kleine-König Date: Thu, 10 Dec 2009 20:02:16 +0000 (-0300) Subject: V4L/DVB (13607): vpif: move vpif_remove to .devexit X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0b0a860fec1a6d4cdcd0dc5241390d083a82c00d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Douglas Schilling Landgraf Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/davinci/vpif.c b/drivers/media/video/davinci/vpif.c index 3b8eac31ecae..1f532e31cd49 100644 --- a/drivers/media/video/davinci/vpif.c +++ b/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);