summaryrefslogtreecommitdiff
path: root/drivers/media/rc/redrat3.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-05-03 21:22:22 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-15 10:53:51 (GMT)
commitcd624c7b7ce3c3cfa09845dcefbe856bf9f9c4c6 (patch)
tree17297280d394c1c01c98f61d1f0564a9bba77413 /drivers/media/rc/redrat3.c
parent14f2226022be6b169faeee3f0f6ca848170fdb3d (diff)
downloadlinux-fsl-qoriq-cd624c7b7ce3c3cfa09845dcefbe856bf9f9c4c6.tar.xz
[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/rc/redrat3.c')
-rw-r--r--drivers/media/rc/redrat3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/redrat3.c b/drivers/media/rc/redrat3.c
index ad95c67..2878b0e 100644
--- a/drivers/media/rc/redrat3.c
+++ b/drivers/media/rc/redrat3.c
@@ -1277,7 +1277,7 @@ static int redrat3_dev_resume(struct usb_interface *intf)
static struct usb_driver redrat3_dev_driver = {
.name = DRIVER_NAME,
.probe = redrat3_dev_probe,
- .disconnect = redrat3_dev_disconnect,
+ .disconnect = __devexit_p(redrat3_dev_disconnect),
.suspend = redrat3_dev_suspend,
.resume = redrat3_dev_resume,
.reset_resume = redrat3_dev_resume,