aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/soc_camera
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-01-24 15:49:18 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-01-24 15:49:18 -0500
commita32f7d1ad3744914273c6907204c2ab3b5d496a0 (patch)
tree1c5ae321ee85665707177547c07810ff7e09e1ab /drivers/media/platform/soc_camera
parent6b9e50c463efc5c361496ae6a895cc966ff8025b (diff)
parent68d6f84ba0c47e658beff3a4bf0c43acee4b4690 (diff)
Merge branch 'v4l_for_linus' into staging/for_v3.9
* v4l_for_linus: (464 commits) [media] uvcvideo: Set error_idx properly for S_EXT_CTRLS failures [media] uvcvideo: Cleanup leftovers of partial revert [media] uvcvideo: Return -EACCES when trying to set a read-only control Linux 3.8-rc3 mm: reinstante dropped pmd_trans_splitting() check cred: Remove tgcred pointer from struct cred drm/ttm: fix fence locking in ttm_buffer_object_transfer ARM: clps711x: Fix bad merge of clockevents setup ARM: highbank: save and restore L2 cache and GIC on suspend ARM: highbank: add a power request clear ARM: highbank: fix secondary boot and hotplug ARM: highbank: fix typos with hignbank in power request functions ARM: dts: fix highbank cpu mpidr values ARM: dts: add device_type prop to cpu nodes on Calxeda platforms drm/prime: drop reference on imported dma-buf come from gem xen/netfront: improve truesize tracking ARM: mx5: Fix MX53 flexcan2 clock ARM: OMAP2+: am33xx-hwmod: Fix wrongly terminated am33xx_usbss_mpu_irqs array sctp: fix Kconfig bug in default cookie hmac selection EDAC: Cleanup device deregistering path ... Conflicts: drivers/media/pci/dm1105/dm1105.c drivers/media/platform/soc_camera/mx2_camera.c
Diffstat (limited to 'drivers/media/platform/soc_camera')
-rw-r--r--drivers/media/platform/soc_camera/atmel-isi.c6
-rw-r--r--drivers/media/platform/soc_camera/mx2_camera.c8
-rw-r--r--drivers/media/platform/soc_camera/mx3_camera.c6
-rw-r--r--drivers/media/platform/soc_camera/pxa_camera.c6
-rw-r--r--drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c6
-rw-r--r--drivers/media/platform/soc_camera/sh_mobile_csi2.c6
-rw-r--r--drivers/media/platform/soc_camera/soc_camera.c6
7 files changed, 22 insertions, 22 deletions
diff --git a/drivers/media/platform/soc_camera/atmel-isi.c b/drivers/media/platform/soc_camera/atmel-isi.c
index eba1f6b2b0fb..82dbf99d347c 100644
--- a/drivers/media/platform/soc_camera/atmel-isi.c
+++ b/drivers/media/platform/soc_camera/atmel-isi.c
@@ -897,7 +897,7 @@ static struct soc_camera_host_ops isi_soc_camera_host_ops = {
897}; 897};
898 898
899/* -----------------------------------------------------------------------*/ 899/* -----------------------------------------------------------------------*/
900static int __devexit atmel_isi_remove(struct platform_device *pdev) 900static int atmel_isi_remove(struct platform_device *pdev)
901{ 901{
902 struct soc_camera_host *soc_host = to_soc_camera_host(&pdev->dev); 902 struct soc_camera_host *soc_host = to_soc_camera_host(&pdev->dev);
903 struct atmel_isi *isi = container_of(soc_host, 903 struct atmel_isi *isi = container_of(soc_host,
@@ -921,7 +921,7 @@ static int __devexit atmel_isi_remove(struct platform_device *pdev)
921 return 0; 921 return 0;
922} 922}
923 923
924static int __devinit atmel_isi_probe(struct platform_device *pdev) 924static int atmel_isi_probe(struct platform_device *pdev)
925{ 925{
926 unsigned int irq; 926 unsigned int irq;
927 struct atmel_isi *isi; 927 struct atmel_isi *isi;
@@ -1074,7 +1074,7 @@ err_clk_prepare_pclk:
1074 1074
1075static struct platform_driver atmel_isi_driver = { 1075static struct platform_driver atmel_isi_driver = {
1076 .probe = atmel_isi_probe, 1076 .probe = atmel_isi_probe,
1077 .remove = __devexit_p(atmel_isi_remove), 1077 .remove = atmel_isi_remove,
1078 .driver = { 1078 .driver = {
1079 .name = "atmel_isi", 1079 .name = "atmel_isi",
1080 .owner = THIS_MODULE, 1080 .owner = THIS_MODULE,
diff --git a/drivers/media/platform/soc_camera/mx2_camera.c b/drivers/media/platform/soc_camera/mx2_camera.c
index 168e062164e9..27b2e96f27a6 100644
--- a/drivers/media/platform/soc_camera/mx2_camera.c
+++ b/drivers/media/platform/soc_camera/mx2_camera.c
@@ -1429,7 +1429,7 @@ static irqreturn_t mx27_camera_emma_irq(int irq_emma, void *data)
1429 return IRQ_HANDLED; 1429 return IRQ_HANDLED;
1430} 1430}
1431 1431
1432static int __devinit mx27_camera_emma_init(struct platform_device *pdev) 1432static int mx27_camera_emma_init(struct platform_device *pdev)
1433{ 1433{
1434 struct mx2_camera_dev *pcdev = platform_get_drvdata(pdev); 1434 struct mx2_camera_dev *pcdev = platform_get_drvdata(pdev);
1435 struct resource *res_emma; 1435 struct resource *res_emma;
@@ -1487,7 +1487,7 @@ out:
1487 return err; 1487 return err;
1488} 1488}
1489 1489
1490static int __devinit mx2_camera_probe(struct platform_device *pdev) 1490static int mx2_camera_probe(struct platform_device *pdev)
1491{ 1491{
1492 struct mx2_camera_dev *pcdev; 1492 struct mx2_camera_dev *pcdev;
1493 struct resource *res_csi; 1493 struct resource *res_csi;
@@ -1595,7 +1595,7 @@ exit:
1595 return err; 1595 return err;
1596} 1596}
1597 1597
1598static int __devexit mx2_camera_remove(struct platform_device *pdev) 1598static int mx2_camera_remove(struct platform_device *pdev)
1599{ 1599{
1600 struct soc_camera_host *soc_host = to_soc_camera_host(&pdev->dev); 1600 struct soc_camera_host *soc_host = to_soc_camera_host(&pdev->dev);
1601 struct mx2_camera_dev *pcdev = container_of(soc_host, 1601 struct mx2_camera_dev *pcdev = container_of(soc_host,
@@ -1618,7 +1618,7 @@ static struct platform_driver mx2_camera_driver = {
1618 .name = MX2_CAM_DRV_NAME, 1618 .name = MX2_CAM_DRV_NAME,
1619 }, 1619 },
1620 .id_table = mx2_camera_devtype, 1620 .id_table = mx2_camera_devtype,
1621 .remove = __devexit_p(mx2_camera_remove), 1621 .remove = mx2_camera_remove,
1622 .probe = mx2_camera_probe, 1622 .probe = mx2_camera_probe,
1623}; 1623};
1624 1624
diff --git a/drivers/media/platform/soc_camera/mx3_camera.c b/drivers/media/platform/soc_camera/mx3_camera.c
index 37d0d0ef8adf..f5cbb92db545 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);
diff --git a/drivers/media/platform/soc_camera/pxa_camera.c b/drivers/media/platform/soc_camera/pxa_camera.c
index f3c1b6202425..1fbec5202e4f 100644
--- a/drivers/media/platform/soc_camera/pxa_camera.c
+++ b/drivers/media/platform/soc_camera/pxa_camera.c
@@ -1651,7 +1651,7 @@ static struct soc_camera_host_ops pxa_soc_camera_host_ops = {
1651 .set_bus_param = pxa_camera_set_bus_param, 1651 .set_bus_param = pxa_camera_set_bus_param,
1652}; 1652};
1653 1653
1654static int __devinit pxa_camera_probe(struct platform_device *pdev) 1654static int pxa_camera_probe(struct platform_device *pdev)
1655{ 1655{
1656 struct pxa_camera_dev *pcdev; 1656 struct pxa_camera_dev *pcdev;
1657 struct resource *res; 1657 struct resource *res;
@@ -1801,7 +1801,7 @@ exit:
1801 return err; 1801 return err;
1802} 1802}
1803 1803
1804static int __devexit pxa_camera_remove(struct platform_device *pdev) 1804static int pxa_camera_remove(struct platform_device *pdev)
1805{ 1805{
1806 struct soc_camera_host *soc_host = to_soc_camera_host(&pdev->dev); 1806 struct soc_camera_host *soc_host = to_soc_camera_host(&pdev->dev);
1807 struct pxa_camera_dev *pcdev = container_of(soc_host, 1807 struct pxa_camera_dev *pcdev = container_of(soc_host,
@@ -1840,7 +1840,7 @@ static struct platform_driver pxa_camera_driver = {
1840 .pm = &pxa_camera_pm, 1840 .pm = &pxa_camera_pm,
1841 }, 1841 },
1842 .probe = pxa_camera_probe, 1842 .probe = pxa_camera_probe,
1843 .remove = __devexit_p(pxa_camera_remove), 1843 .remove = pxa_camera_remove,
1844}; 1844};
1845 1845
1846module_platform_driver(pxa_camera_driver); 1846module_platform_driver(pxa_camera_driver);
diff --git a/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c b/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c
index cdf173bbcc93..602584dc9330 100644
--- a/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c
+++ b/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c
@@ -2071,7 +2071,7 @@ static int bus_notify(struct notifier_block *nb,
2071 return NOTIFY_DONE; 2071 return NOTIFY_DONE;
2072} 2072}
2073 2073
2074static int __devinit sh_mobile_ceu_probe(struct platform_device *pdev) 2074static int sh_mobile_ceu_probe(struct platform_device *pdev)
2075{ 2075{
2076 struct sh_mobile_ceu_dev *pcdev; 2076 struct sh_mobile_ceu_dev *pcdev;
2077 struct resource *res; 2077 struct resource *res;
@@ -2247,7 +2247,7 @@ exit_release_mem:
2247 return err; 2247 return err;
2248} 2248}
2249 2249
2250static int __devexit sh_mobile_ceu_remove(struct platform_device *pdev) 2250static int sh_mobile_ceu_remove(struct platform_device *pdev)
2251{ 2251{
2252 struct soc_camera_host *soc_host = to_soc_camera_host(&pdev->dev); 2252 struct soc_camera_host *soc_host = to_soc_camera_host(&pdev->dev);
2253 struct sh_mobile_ceu_dev *pcdev = container_of(soc_host, 2253 struct sh_mobile_ceu_dev *pcdev = container_of(soc_host,
@@ -2293,7 +2293,7 @@ static struct platform_driver sh_mobile_ceu_driver = {
2293 .pm = &sh_mobile_ceu_dev_pm_ops, 2293 .pm = &sh_mobile_ceu_dev_pm_ops,
2294 }, 2294 },
2295 .probe = sh_mobile_ceu_probe, 2295 .probe = sh_mobile_ceu_probe,
2296 .remove = __devexit_p(sh_mobile_ceu_remove), 2296 .remove = sh_mobile_ceu_remove,
2297}; 2297};
2298 2298
2299static int __init sh_mobile_ceu_init(void) 2299static int __init sh_mobile_ceu_init(void)
diff --git a/drivers/media/platform/soc_camera/sh_mobile_csi2.c b/drivers/media/platform/soc_camera/sh_mobile_csi2.c
index c573be702641..42c559eb4937 100644
--- a/drivers/media/platform/soc_camera/sh_mobile_csi2.c
+++ b/drivers/media/platform/soc_camera/sh_mobile_csi2.c
@@ -294,7 +294,7 @@ static struct v4l2_subdev_ops sh_csi2_subdev_ops = {
294 .video = &sh_csi2_subdev_video_ops, 294 .video = &sh_csi2_subdev_video_ops,
295}; 295};
296 296
297static __devinit int sh_csi2_probe(struct platform_device *pdev) 297static int sh_csi2_probe(struct platform_device *pdev)
298{ 298{
299 struct resource *res; 299 struct resource *res;
300 unsigned int irq; 300 unsigned int irq;
@@ -355,7 +355,7 @@ esdreg:
355 return ret; 355 return ret;
356} 356}
357 357
358static __devexit int sh_csi2_remove(struct platform_device *pdev) 358static int sh_csi2_remove(struct platform_device *pdev)
359{ 359{
360 struct sh_csi2 *priv = platform_get_drvdata(pdev); 360 struct sh_csi2 *priv = platform_get_drvdata(pdev);
361 361
@@ -367,7 +367,7 @@ static __devexit int sh_csi2_remove(struct platform_device *pdev)
367} 367}
368 368
369static struct platform_driver __refdata sh_csi2_pdrv = { 369static struct platform_driver __refdata sh_csi2_pdrv = {
370 .remove = __devexit_p(sh_csi2_remove), 370 .remove = sh_csi2_remove,
371 .probe = sh_csi2_probe, 371 .probe = sh_csi2_probe,
372 .driver = { 372 .driver = {
373 .name = "sh-mobile-csi2", 373 .name = "sh-mobile-csi2",
diff --git a/drivers/media/platform/soc_camera/soc_camera.c b/drivers/media/platform/soc_camera/soc_camera.c
index dd057f19dbc3..8ec98051ea73 100644
--- a/drivers/media/platform/soc_camera/soc_camera.c
+++ b/drivers/media/platform/soc_camera/soc_camera.c
@@ -1535,7 +1535,7 @@ static int soc_camera_video_start(struct soc_camera_device *icd)
1535 return 0; 1535 return 0;
1536} 1536}
1537 1537
1538static int __devinit soc_camera_pdrv_probe(struct platform_device *pdev) 1538static int soc_camera_pdrv_probe(struct platform_device *pdev)
1539{ 1539{
1540 struct soc_camera_desc *sdesc = pdev->dev.platform_data; 1540 struct soc_camera_desc *sdesc = pdev->dev.platform_data;
1541 struct soc_camera_subdev_desc *ssdd = &sdesc->subdev_desc; 1541 struct soc_camera_subdev_desc *ssdd = &sdesc->subdev_desc;
@@ -1570,7 +1570,7 @@ static int __devinit soc_camera_pdrv_probe(struct platform_device *pdev)
1570 * hot-pluggable. Now we know, that all our users - hosts and devices have 1570 * hot-pluggable. Now we know, that all our users - hosts and devices have
1571 * been unloaded already 1571 * been unloaded already
1572 */ 1572 */
1573static int __devexit soc_camera_pdrv_remove(struct platform_device *pdev) 1573static int soc_camera_pdrv_remove(struct platform_device *pdev)
1574{ 1574{
1575 struct soc_camera_device *icd = platform_get_drvdata(pdev); 1575 struct soc_camera_device *icd = platform_get_drvdata(pdev);
1576 1576
@@ -1584,7 +1584,7 @@ static int __devexit soc_camera_pdrv_remove(struct platform_device *pdev)
1584 1584
1585static struct platform_driver __refdata soc_camera_pdrv = { 1585static struct platform_driver __refdata soc_camera_pdrv = {
1586 .probe = soc_camera_pdrv_probe, 1586 .probe = soc_camera_pdrv_probe,
1587 .remove = __devexit_p(soc_camera_pdrv_remove), 1587 .remove = soc_camera_pdrv_remove,
1588 .driver = { 1588 .driver = {
1589 .name = "soc-camera-pdrv", 1589 .name = "soc-camera-pdrv",
1590 .owner = THIS_MODULE, 1590 .owner = THIS_MODULE,