浏览代码

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 年之前
父节点
当前提交
0b0a860fec
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);