aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pxa_camera.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-06-04 10:07:16 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 18:07:51 -0400
commite36bc31f823d6089bedc935fea82b6d36793412a (patch)
treea5c2b21ba314507ec61b00ded3ce6607c8094c86 /drivers/media/video/pxa_camera.c
parent96ceea2734d922d07000e98606231f3d675e09f8 (diff)
V4L/DVB (11992): Add missing __devexit_p()
Add missing __devexit_p() to several drivers. Also add a few missing __init, __devinit and __exit markers. These errors could result in build failures depending on the kernel configuration. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pxa_camera.c')
-rw-r--r--drivers/media/video/pxa_camera.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/pxa_camera.c b/drivers/media/video/pxa_camera.c
index 2da5eef19b70..f60de40fd21f 100644
--- a/drivers/media/video/pxa_camera.c
+++ b/drivers/media/video/pxa_camera.c
@@ -1551,7 +1551,7 @@ static struct soc_camera_host_ops pxa_soc_camera_host_ops = {
1551 .set_bus_param = pxa_camera_set_bus_param, 1551 .set_bus_param = pxa_camera_set_bus_param,
1552}; 1552};
1553 1553
1554static int pxa_camera_probe(struct platform_device *pdev) 1554static int __devinit pxa_camera_probe(struct platform_device *pdev)
1555{ 1555{
1556 struct pxa_camera_dev *pcdev; 1556 struct pxa_camera_dev *pcdev;
1557 struct resource *res; 1557 struct resource *res;
@@ -1726,11 +1726,11 @@ static struct platform_driver pxa_camera_driver = {
1726 .name = PXA_CAM_DRV_NAME, 1726 .name = PXA_CAM_DRV_NAME,
1727 }, 1727 },
1728 .probe = pxa_camera_probe, 1728 .probe = pxa_camera_probe,
1729 .remove = __exit_p(pxa_camera_remove), 1729 .remove = __devexit_p(pxa_camera_remove),
1730}; 1730};
1731 1731
1732 1732
1733static int __devinit pxa_camera_init(void) 1733static int __init pxa_camera_init(void)
1734{ 1734{
1735 return platform_driver_register(&pxa_camera_driver); 1735 return platform_driver_register(&pxa_camera_driver);
1736} 1736}