diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2009-12-10 15:01:13 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-15 21:18:37 -0500 |
commit | 9d8938248c3b67904a8108a6fc3dcceb9d7f2aad (patch) | |
tree | 43cf3fb134dc2f2c199fae3cd34adce9eb47955f /drivers/media | |
parent | 50e55fd13fcf2d098e2b969c9d1bc270ae5f8b12 (diff) |
V4L/DVB (13606): vpfe_capture: move vpfe_remove to .devexit
The function vpfe_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')
-rw-r--r-- | drivers/media/video/davinci/vpfe_capture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/davinci/vpfe_capture.c b/drivers/media/video/davinci/vpfe_capture.c index f2d3c9b6df10..87e97962ff57 100644 --- a/drivers/media/video/davinci/vpfe_capture.c +++ b/drivers/media/video/davinci/vpfe_capture.c | |||
@@ -2090,7 +2090,7 @@ probe_free_dev_mem: | |||
2090 | /* | 2090 | /* |
2091 | * vpfe_remove : It un-register device from V4L2 driver | 2091 | * vpfe_remove : It un-register device from V4L2 driver |
2092 | */ | 2092 | */ |
2093 | static int vpfe_remove(struct platform_device *pdev) | 2093 | static int __devexit vpfe_remove(struct platform_device *pdev) |
2094 | { | 2094 | { |
2095 | struct vpfe_device *vpfe_dev = platform_get_drvdata(pdev); | 2095 | struct vpfe_device *vpfe_dev = platform_get_drvdata(pdev); |
2096 | struct resource *res; | 2096 | struct resource *res; |