diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-05-03 23:22:22 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-15 12:53:51 +0200 |
commit | cd624c7b7ce3c3cfa09845dcefbe856bf9f9c4c6 (patch) | |
tree | 17297280d394c1c01c98f61d1f0564a9bba77413 /drivers/media/radio/tef6862.c | |
parent | [media] media/video: add I2C dependencies (diff) | |
download | linux-cd624c7b7ce3c3cfa09845dcefbe856bf9f9c4c6.tar.xz linux-cd624c7b7ce3c3cfa09845dcefbe856bf9f9c4c6.zip |
[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/tef6862.c')
-rw-r--r-- | drivers/media/radio/tef6862.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { .name = DRIVER_NAME, }, .probe = tef6862_probe, - .remove = tef6862_remove, + .remove = __devexit_p(tef6862_remove), .id_table = tef6862_id, }; |