aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.lad@ti.com>2012-08-14 00:23:09 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-14 07:45:49 -0400
commita1b3a6ce0f1510b14b18d019c4cda137585b1f69 (patch)
treeb701d8cb9d3b56dd49ab2612008cd8453e043b7c /drivers/media
parent1511288620bd4ea794bae08871f9e108ca034b2d (diff)
[media] media: davinci: fix section mismatch warnings
This patch fixes section mismatch warnings for davinci video drivers. [mchehab@redhat.com: applied it as a fixup over the previous (and wrong) changeset c6afbf2] Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com> Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/davinci/dm355_ccdc.c4
-rw-r--r--drivers/media/video/davinci/dm644x_ccdc.c4
-rw-r--r--drivers/media/video/davinci/isif.c4
-rw-r--r--drivers/media/video/davinci/vpfe_capture.c4
-rw-r--r--drivers/media/video/davinci/vpif.c4
-rw-r--r--drivers/media/video/davinci/vpss.c4
6 files changed, 12 insertions, 12 deletions
diff --git a/drivers/media/video/davinci/dm355_ccdc.c b/drivers/media/video/davinci/dm355_ccdc.c
index 2eb7dbd6dba..ce0e4131c06 100644
--- a/drivers/media/video/davinci/dm355_ccdc.c
+++ b/drivers/media/video/davinci/dm355_ccdc.c
@@ -965,7 +965,7 @@ static struct ccdc_hw_device ccdc_hw_dev = {
965 }, 965 },
966}; 966};
967 967
968static int __init dm355_ccdc_probe(struct platform_device *pdev) 968static int __devinit dm355_ccdc_probe(struct platform_device *pdev)
969{ 969{
970 void (*setup_pinmux)(void); 970 void (*setup_pinmux)(void);
971 struct resource *res; 971 struct resource *res;
@@ -1060,7 +1060,7 @@ static int dm355_ccdc_remove(struct platform_device *pdev)
1060 return 0; 1060 return 0;
1061} 1061}
1062 1062
1063static __refdata struct platform_driver dm355_ccdc_driver = { 1063static struct platform_driver dm355_ccdc_driver = {
1064 .driver = { 1064 .driver = {
1065 .name = "dm355_ccdc", 1065 .name = "dm355_ccdc",
1066 .owner = THIS_MODULE, 1066 .owner = THIS_MODULE,
diff --git a/drivers/media/video/davinci/dm644x_ccdc.c b/drivers/media/video/davinci/dm644x_ccdc.c
index 3ffb7f2da10..ee7942b1996 100644
--- a/drivers/media/video/davinci/dm644x_ccdc.c
+++ b/drivers/media/video/davinci/dm644x_ccdc.c
@@ -957,7 +957,7 @@ static struct ccdc_hw_device ccdc_hw_dev = {
957 }, 957 },
958}; 958};
959 959
960static int __init dm644x_ccdc_probe(struct platform_device *pdev) 960static int __devinit dm644x_ccdc_probe(struct platform_device *pdev)
961{ 961{
962 struct resource *res; 962 struct resource *res;
963 int status = 0; 963 int status = 0;
@@ -1068,7 +1068,7 @@ static const struct dev_pm_ops dm644x_ccdc_pm_ops = {
1068 .resume = dm644x_ccdc_resume, 1068 .resume = dm644x_ccdc_resume,
1069}; 1069};
1070 1070
1071static __refdata struct platform_driver dm644x_ccdc_driver = { 1071static struct platform_driver dm644x_ccdc_driver = {
1072 .driver = { 1072 .driver = {
1073 .name = "dm644x_ccdc", 1073 .name = "dm644x_ccdc",
1074 .owner = THIS_MODULE, 1074 .owner = THIS_MODULE,
diff --git a/drivers/media/video/davinci/isif.c b/drivers/media/video/davinci/isif.c
index 6ce42493c60..b99d5423e3a 100644
--- a/drivers/media/video/davinci/isif.c
+++ b/drivers/media/video/davinci/isif.c
@@ -1032,7 +1032,7 @@ static struct ccdc_hw_device isif_hw_dev = {
1032 }, 1032 },
1033}; 1033};
1034 1034
1035static int __init isif_probe(struct platform_device *pdev) 1035static int __devinit isif_probe(struct platform_device *pdev)
1036{ 1036{
1037 void (*setup_pinmux)(void); 1037 void (*setup_pinmux)(void);
1038 struct resource *res; 1038 struct resource *res;
@@ -1148,7 +1148,7 @@ static int isif_remove(struct platform_device *pdev)
1148 return 0; 1148 return 0;
1149} 1149}
1150 1150
1151static __refdata struct platform_driver isif_driver = { 1151static struct platform_driver isif_driver = {
1152 .driver = { 1152 .driver = {
1153 .name = "isif", 1153 .name = "isif",
1154 .owner = THIS_MODULE, 1154 .owner = THIS_MODULE,
diff --git a/drivers/media/video/davinci/vpfe_capture.c b/drivers/media/video/davinci/vpfe_capture.c
index 572d8f08d9e..843b138faab 100644
--- a/drivers/media/video/davinci/vpfe_capture.c
+++ b/drivers/media/video/davinci/vpfe_capture.c
@@ -1829,7 +1829,7 @@ static struct vpfe_device *vpfe_initialize(void)
1829 * itself to the V4L2 driver and initializes fields of each 1829 * itself to the V4L2 driver and initializes fields of each
1830 * device objects 1830 * device objects
1831 */ 1831 */
1832static __init int vpfe_probe(struct platform_device *pdev) 1832static __devinit int vpfe_probe(struct platform_device *pdev)
1833{ 1833{
1834 struct vpfe_subdev_info *sdinfo; 1834 struct vpfe_subdev_info *sdinfo;
1835 struct vpfe_config *vpfe_cfg; 1835 struct vpfe_config *vpfe_cfg;
@@ -2066,7 +2066,7 @@ static const struct dev_pm_ops vpfe_dev_pm_ops = {
2066 .resume = vpfe_resume, 2066 .resume = vpfe_resume,
2067}; 2067};
2068 2068
2069static __refdata struct platform_driver vpfe_driver = { 2069static struct platform_driver vpfe_driver = {
2070 .driver = { 2070 .driver = {
2071 .name = CAPTURE_DRV_NAME, 2071 .name = CAPTURE_DRV_NAME,
2072 .owner = THIS_MODULE, 2072 .owner = THIS_MODULE,
diff --git a/drivers/media/video/davinci/vpif.c b/drivers/media/video/davinci/vpif.c
index a058fed768e..9bd3caa34a3 100644
--- a/drivers/media/video/davinci/vpif.c
+++ b/drivers/media/video/davinci/vpif.c
@@ -417,7 +417,7 @@ int vpif_channel_getfid(u8 channel_id)
417} 417}
418EXPORT_SYMBOL(vpif_channel_getfid); 418EXPORT_SYMBOL(vpif_channel_getfid);
419 419
420static int __init vpif_probe(struct platform_device *pdev) 420static int __devinit vpif_probe(struct platform_device *pdev)
421{ 421{
422 int status = 0; 422 int status = 0;
423 423
@@ -490,7 +490,7 @@ static const struct dev_pm_ops vpif_pm = {
490#define vpif_pm_ops NULL 490#define vpif_pm_ops NULL
491#endif 491#endif
492 492
493static __refdata struct platform_driver vpif_driver = { 493static struct platform_driver vpif_driver = {
494 .driver = { 494 .driver = {
495 .name = "vpif", 495 .name = "vpif",
496 .owner = THIS_MODULE, 496 .owner = THIS_MODULE,
diff --git a/drivers/media/video/davinci/vpss.c b/drivers/media/video/davinci/vpss.c
index 8f682d8255c..146e4b01ac1 100644
--- a/drivers/media/video/davinci/vpss.c
+++ b/drivers/media/video/davinci/vpss.c
@@ -357,7 +357,7 @@ void dm365_vpss_set_pg_frame_size(struct vpss_pg_frame_size frame_size)
357} 357}
358EXPORT_SYMBOL(dm365_vpss_set_pg_frame_size); 358EXPORT_SYMBOL(dm365_vpss_set_pg_frame_size);
359 359
360static int __init vpss_probe(struct platform_device *pdev) 360static int __devinit vpss_probe(struct platform_device *pdev)
361{ 361{
362 struct resource *r1, *r2; 362 struct resource *r1, *r2;
363 char *platform_name; 363 char *platform_name;
@@ -460,7 +460,7 @@ static int __devexit vpss_remove(struct platform_device *pdev)
460 return 0; 460 return 0;
461} 461}
462 462
463static __refdata struct platform_driver vpss_driver = { 463static struct platform_driver vpss_driver = {
464 .driver = { 464 .driver = {
465 .name = "vpss", 465 .name = "vpss",
466 .owner = THIS_MODULE, 466 .owner = THIS_MODULE,