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>
@@ -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 = {
.name = "dm644x_ccdc",
@@ -1148,7 +1148,7 @@ static int isif_remove(struct platform_device *pdev)
-static struct platform_driver isif_driver = {
+static __refdata struct platform_driver isif_driver = {
.name = "isif",
@@ -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 = {
.name = CAPTURE_DRV_NAME,
@@ -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 = {
.name = "vpif",
@@ -460,7 +460,7 @@ static int __devexit vpss_remove(struct platform_device *pdev)
-static struct platform_driver vpss_driver = {
+static __refdata struct platform_driver vpss_driver = {
.name = "vpss",