aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-05-03 17:22:22 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-15 06:53:51 -0400
commitcd624c7b7ce3c3cfa09845dcefbe856bf9f9c4c6 (patch)
tree17297280d394c1c01c98f61d1f0564a9bba77413 /drivers/media/radio
parent14f2226022be6b169faeee3f0f6ca848170fdb3d (diff)
[media] drivers/media: add missing __devexit_p() annotations
Drivers that refer to a __devexit function in an operations structure need to annotate that pointer with __devexit_p so replace it with a NULL pointer when the section gets discarded. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio')
-rw-r--r--drivers/media/radio/radio-timb.c2
-rw-r--r--drivers/media/radio/saa7706h.c2
-rw-r--r--drivers/media/radio/tef6862.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/radio/radio-timb.c b/drivers/media/radio/radio-timb.c
index 5d9a90ac3a1c..7052adc0c0b0 100644
--- a/drivers/media/radio/radio-timb.c
+++ b/drivers/media/radio/radio-timb.c
@@ -223,7 +223,7 @@ static struct platform_driver timbradio_platform_driver = {
223 .owner = THIS_MODULE, 223 .owner = THIS_MODULE,
224 }, 224 },
225 .probe = timbradio_probe, 225 .probe = timbradio_probe,
226 .remove = timbradio_remove, 226 .remove = __devexit_p(timbradio_remove),
227}; 227};
228 228
229module_platform_driver(timbradio_platform_driver); 229module_platform_driver(timbradio_platform_driver);
diff --git a/drivers/media/radio/saa7706h.c b/drivers/media/radio/saa7706h.c
index 9474706350f8..bb953ef75f61 100644
--- a/drivers/media/radio/saa7706h.c
+++ b/drivers/media/radio/saa7706h.c
@@ -430,7 +430,7 @@ static struct i2c_driver saa7706h_driver = {
430 .name = DRIVER_NAME, 430 .name = DRIVER_NAME,
431 }, 431 },
432 .probe = saa7706h_probe, 432 .probe = saa7706h_probe,
433 .remove = saa7706h_remove, 433 .remove = __devexit_p(saa7706h_remove),
434 .id_table = saa7706h_id, 434 .id_table = saa7706h_id,
435}; 435};
436 436
diff --git a/drivers/media/radio/tef6862.c b/drivers/media/radio/tef6862.c
index 6418c4c9faf1..06d47e5cce9f 100644
--- a/drivers/media/radio/tef6862.c
+++ b/drivers/media/radio/tef6862.c
@@ -211,7 +211,7 @@ static struct i2c_driver tef6862_driver = {
211 .name = DRIVER_NAME, 211 .name = DRIVER_NAME,
212 }, 212 },
213 .probe = tef6862_probe, 213 .probe = tef6862_probe,
214 .remove = tef6862_remove, 214 .remove = __devexit_p(tef6862_remove),
215 .id_table = tef6862_id, 215 .id_table = tef6862_id,
216}; 216};
217 217