aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/soc_camera/mx3_camera.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/soc_camera/mx3_camera.c')
-rw-r--r--drivers/media/platform/soc_camera/mx3_camera.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/platform/soc_camera/mx3_camera.c b/drivers/media/platform/soc_camera/mx3_camera.c
index 06d16de76377..45aef1053a49 100644
--- a/drivers/media/platform/soc_camera/mx3_camera.c
+++ b/drivers/media/platform/soc_camera/mx3_camera.c
@@ -1143,7 +1143,7 @@ static struct soc_camera_host_ops mx3_soc_camera_host_ops = {
1143 .set_bus_param = mx3_camera_set_bus_param, 1143 .set_bus_param = mx3_camera_set_bus_param,
1144}; 1144};
1145 1145
1146static int __devinit mx3_camera_probe(struct platform_device *pdev) 1146static int mx3_camera_probe(struct platform_device *pdev)
1147{ 1147{
1148 struct mx3_camera_dev *mx3_cam; 1148 struct mx3_camera_dev *mx3_cam;
1149 struct resource *res; 1149 struct resource *res;
@@ -1246,7 +1246,7 @@ egetres:
1246 return err; 1246 return err;
1247} 1247}
1248 1248
1249static int __devexit mx3_camera_remove(struct platform_device *pdev) 1249static int mx3_camera_remove(struct platform_device *pdev)
1250{ 1250{
1251 struct soc_camera_host *soc_host = to_soc_camera_host(&pdev->dev); 1251 struct soc_camera_host *soc_host = to_soc_camera_host(&pdev->dev);
1252 struct mx3_camera_dev *mx3_cam = container_of(soc_host, 1252 struct mx3_camera_dev *mx3_cam = container_of(soc_host,
@@ -1279,7 +1279,7 @@ static struct platform_driver mx3_camera_driver = {
1279 .name = MX3_CAM_DRV_NAME, 1279 .name = MX3_CAM_DRV_NAME,
1280 }, 1280 },
1281 .probe = mx3_camera_probe, 1281 .probe = mx3_camera_probe,
1282 .remove = __devexit_p(mx3_camera_remove), 1282 .remove = mx3_camera_remove,
1283}; 1283};
1284 1284
1285module_platform_driver(mx3_camera_driver); 1285module_platform_driver(mx3_camera_driver);