Skip to content

Commit c6afbf2

Browse files
Lad, PrabhakarMauro Carvalho Chehab
authored andcommitted
[media] davinci: fix build warning when CONFIG_DEBUG_SECTION_MISMATCH is enabled
Signed-off-by: Lad, Prabhakar <[email protected]> Signed-off-by: Manjunath Hadli <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 8746add commit c6afbf2

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

drivers/media/video/davinci/dm355_ccdc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ static int dm355_ccdc_remove(struct platform_device *pdev)
10601060
return 0;
10611061
}
10621062

1063-
static struct platform_driver dm355_ccdc_driver = {
1063+
static __refdata struct platform_driver dm355_ccdc_driver = {
10641064
.driver = {
10651065
.name = "dm355_ccdc",
10661066
.owner = THIS_MODULE,

drivers/media/video/davinci/dm644x_ccdc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ static const struct dev_pm_ops dm644x_ccdc_pm_ops = {
10681068
.resume = dm644x_ccdc_resume,
10691069
};
10701070

1071-
static struct platform_driver dm644x_ccdc_driver = {
1071+
static __refdata struct platform_driver dm644x_ccdc_driver = {
10721072
.driver = {
10731073
.name = "dm644x_ccdc",
10741074
.owner = THIS_MODULE,

drivers/media/video/davinci/isif.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ static int isif_remove(struct platform_device *pdev)
11481148
return 0;
11491149
}
11501150

1151-
static struct platform_driver isif_driver = {
1151+
static __refdata struct platform_driver isif_driver = {
11521152
.driver = {
11531153
.name = "isif",
11541154
.owner = THIS_MODULE,

drivers/media/video/davinci/vpfe_capture.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2066,7 +2066,7 @@ static const struct dev_pm_ops vpfe_dev_pm_ops = {
20662066
.resume = vpfe_resume,
20672067
};
20682068

2069-
static struct platform_driver vpfe_driver = {
2069+
static __refdata struct platform_driver vpfe_driver = {
20702070
.driver = {
20712071
.name = CAPTURE_DRV_NAME,
20722072
.owner = THIS_MODULE,

drivers/media/video/davinci/vpif.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ static const struct dev_pm_ops vpif_pm = {
490490
#define vpif_pm_ops NULL
491491
#endif
492492

493-
static struct platform_driver vpif_driver = {
493+
static __refdata struct platform_driver vpif_driver = {
494494
.driver = {
495495
.name = "vpif",
496496
.owner = THIS_MODULE,

drivers/media/video/davinci/vpss.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ static int __devexit vpss_remove(struct platform_device *pdev)
460460
return 0;
461461
}
462462

463-
static struct platform_driver vpss_driver = {
463+
static __refdata struct platform_driver vpss_driver = {
464464
.driver = {
465465
.name = "vpss",
466466
.owner = THIS_MODULE,

0 commit comments

Comments
 (0)