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)
return 0;
}
static struct platform_driver dm355_ccdc_driver = {
static __refdata struct platform_driver dm355_ccdc_driver = {
.driver = {
.name = "dm355_ccdc",
.owner = THIS_MODULE,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
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