diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2009-12-10 15:02:16 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-15 21:18:37 -0500 |
commit | 0b0a860fec1a6d4cdcd0dc5241390d083a82c00d (patch) | |
tree | 5c93dbb940e703cd2bdc03263ab4220bd3e4fd14 /drivers/media/video/davinci/vpif.c | |
parent | 9d8938248c3b67904a8108a6fc3dcceb9d7f2aad (diff) |
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>
Diffstat (limited to 'drivers/media/video/davinci/vpif.c')
-rw-r--r-- | drivers/media/video/davinci/vpif.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
266 | return status; | 266 | return status; |
267 | } | 267 | } |
268 | 268 | ||
269 | static int vpif_remove(struct platform_device *pdev) | 269 | static int __devexit vpif_remove(struct platform_device *pdev) |
270 | { | 270 | { |
271 | iounmap(vpif_base); | 271 | iounmap(vpif_base); |
272 | release_mem_region(res->start, res_len); | 272 | release_mem_region(res->start, res_len); |