Commit c6afbf29 authored by Lad, Prabhakar's avatar Lad, Prabhakar Committed by Mauro Carvalho Chehab

[media] davinci: fix build warning when CONFIG_DEBUG_SECTION_MISMATCH is enabled

Signed-off-by: default avatarLad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: default avatarManjunath Hadli <manjunath.hadli@ti.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 8746adda
...@@ -1060,7 +1060,7 @@ static int dm355_ccdc_remove(struct platform_device *pdev) ...@@ -1060,7 +1060,7 @@ static int dm355_ccdc_remove(struct platform_device *pdev)
return 0; return 0;
} }
static struct platform_driver dm355_ccdc_driver = { static __refdata struct platform_driver dm355_ccdc_driver = {
.driver = { .driver = {
.name = "dm355_ccdc", .name = "dm355_ccdc",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -1068,7 +1068,7 @@ static const struct dev_pm_ops dm644x_ccdc_pm_ops = { ...@@ -1068,7 +1068,7 @@ static const struct dev_pm_ops dm644x_ccdc_pm_ops = {
.resume = dm644x_ccdc_resume, .resume = dm644x_ccdc_resume,
}; };
static struct platform_driver dm644x_ccdc_driver = { static __refdata struct platform_driver dm644x_ccdc_driver = {
.driver = { .driver = {
.name = "dm644x_ccdc", .name = "dm644x_ccdc",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -1148,7 +1148,7 @@ static int isif_remove(struct platform_device *pdev) ...@@ -1148,7 +1148,7 @@ static int isif_remove(struct platform_device *pdev)
return 0; return 0;
} }
static struct platform_driver isif_driver = { static __refdata struct platform_driver isif_driver = {
.driver = { .driver = {
.name = "isif", .name = "isif",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -2066,7 +2066,7 @@ static const struct dev_pm_ops vpfe_dev_pm_ops = { ...@@ -2066,7 +2066,7 @@ static const struct dev_pm_ops vpfe_dev_pm_ops = {
.resume = vpfe_resume, .resume = vpfe_resume,
}; };
static struct platform_driver vpfe_driver = { static __refdata struct platform_driver vpfe_driver = {
.driver = { .driver = {
.name = CAPTURE_DRV_NAME, .name = CAPTURE_DRV_NAME,
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -490,7 +490,7 @@ static const struct dev_pm_ops vpif_pm = { ...@@ -490,7 +490,7 @@ static const struct dev_pm_ops vpif_pm = {
#define vpif_pm_ops NULL #define vpif_pm_ops NULL
#endif #endif
static struct platform_driver vpif_driver = { static __refdata struct platform_driver vpif_driver = {
.driver = { .driver = {
.name = "vpif", .name = "vpif",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -460,7 +460,7 @@ static int __devexit vpss_remove(struct platform_device *pdev) ...@@ -460,7 +460,7 @@ static int __devexit vpss_remove(struct platform_device *pdev)
return 0; return 0;
} }
static struct platform_driver vpss_driver = { static __refdata struct platform_driver vpss_driver = {
.driver = { .driver = {
.name = "vpss", .name = "vpss",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment