]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] davinci: fix build warning when CONFIG_DEBUG_SECTION_MISMATCH is enabled
authorLad, Prabhakar <prabhakar.lad@ti.com>
Mon, 13 Aug 2012 08:32:17 +0000 (05:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 13 Aug 2012 19:01:54 +0000 (16:01 -0300)
Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/davinci/dm355_ccdc.c
drivers/media/video/davinci/dm644x_ccdc.c
drivers/media/video/davinci/isif.c
drivers/media/video/davinci/vpfe_capture.c
drivers/media/video/davinci/vpif.c
drivers/media/video/davinci/vpss.c

index 5b68847d40179fb43b988d7fe73966919158c1a7..2eb7dbd6dbacbf8323927e5b3812eb3d02fda739 100644 (file)
@@ -1060,7 +1060,7 @@ static int dm355_ccdc_remove(struct platform_device *pdev)
        return 0;
 }
 
-static struct platform_driver dm355_ccdc_driver = {
+static __refdata struct platform_driver dm355_ccdc_driver = {
        .driver = {
                .name   = "dm355_ccdc",
                .owner = THIS_MODULE,
index 9303fe553b075899e09e529173373de77af5a871..3ffb7f2da10fd45d46415643999e860e8cf67420 100644 (file)
@@ -1068,7 +1068,7 @@ static const struct dev_pm_ops dm644x_ccdc_pm_ops = {
        .resume = dm644x_ccdc_resume,
 };
 
-static struct platform_driver dm644x_ccdc_driver = {
+static __refdata struct platform_driver dm644x_ccdc_driver = {
        .driver = {
                .name   = "dm644x_ccdc",
                .owner = THIS_MODULE,
index 5278fe7d6d0c3638cd1eba5d6860fb0f94066361..6ce42493c60f8fe8781167df8b7dc75c6b42d866 100644 (file)
@@ -1148,7 +1148,7 @@ static int isif_remove(struct platform_device *pdev)
        return 0;
 }
 
-static struct platform_driver isif_driver = {
+static __refdata struct platform_driver isif_driver = {
        .driver = {
                .name   = "isif",
                .owner = THIS_MODULE,
index 49a845fb804a006fb0951a4426d543f31ac986d0..572d8f08d9ebf6ee31dc3dd5ff460837ec0bd84d 100644 (file)
@@ -2066,7 +2066,7 @@ static const struct dev_pm_ops vpfe_dev_pm_ops = {
        .resume = vpfe_resume,
 };
 
-static struct platform_driver vpfe_driver = {
+static __refdata struct platform_driver vpfe_driver = {
        .driver = {
                .name = CAPTURE_DRV_NAME,
                .owner = THIS_MODULE,
index b3637aff8fee85be4eff1d5e23eeb5c6881efcdf..a058fed768efaeaaad35e7b1623f4ccb2d00f9f4 100644 (file)
@@ -490,7 +490,7 @@ static const struct dev_pm_ops vpif_pm = {
 #define vpif_pm_ops NULL
 #endif
 
-static struct platform_driver vpif_driver = {
+static __refdata struct platform_driver vpif_driver = {
        .driver = {
                .name   = "vpif",
                .owner = THIS_MODULE,
index 3e5cf27ec2b29abe2165e180a6bfddba64833514..8f682d8255c03a6b2768e63cdcd56445792444c7 100644 (file)
@@ -460,7 +460,7 @@ static int __devexit vpss_remove(struct platform_device *pdev)
        return 0;
 }
 
-static struct platform_driver vpss_driver = {
+static __refdata struct platform_driver vpss_driver = {
        .driver = {
                .name   = "vpss",
                .owner = THIS_MODULE,