diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/bw2.c | 7 | ||||
-rw-r--r-- | drivers/video/cg14.c | 7 | ||||
-rw-r--r-- | drivers/video/cg3.c | 7 | ||||
-rw-r--r-- | drivers/video/cg6.c | 7 | ||||
-rw-r--r-- | drivers/video/ffb.c | 7 | ||||
-rw-r--r-- | drivers/video/fsl-diu-fb.c | 8 | ||||
-rw-r--r-- | drivers/video/leo.c | 7 | ||||
-rw-r--r-- | drivers/video/mb862xx/mb862xxfb.c | 8 | ||||
-rw-r--r-- | drivers/video/p9100.c | 7 | ||||
-rw-r--r-- | drivers/video/platinumfb.c | 7 | ||||
-rw-r--r-- | drivers/video/sunxvr1000.c | 7 | ||||
-rw-r--r-- | drivers/video/tcx.c | 7 | ||||
-rw-r--r-- | drivers/video/xilinxfb.c | 5 |
13 files changed, 62 insertions, 29 deletions
diff --git a/drivers/video/bw2.c b/drivers/video/bw2.c index 43320925c4ce..2c371c07f0da 100644 --- a/drivers/video/bw2.c +++ b/drivers/video/bw2.c | |||
@@ -376,8 +376,11 @@ static const struct of_device_id bw2_match[] = { | |||
376 | MODULE_DEVICE_TABLE(of, bw2_match); | 376 | MODULE_DEVICE_TABLE(of, bw2_match); |
377 | 377 | ||
378 | static struct of_platform_driver bw2_driver = { | 378 | static struct of_platform_driver bw2_driver = { |
379 | .name = "bw2", | 379 | .driver = { |
380 | .match_table = bw2_match, | 380 | .name = "bw2", |
381 | .owner = THIS_MODULE, | ||
382 | .of_match_table = bw2_match, | ||
383 | }, | ||
381 | .probe = bw2_probe, | 384 | .probe = bw2_probe, |
382 | .remove = __devexit_p(bw2_remove), | 385 | .remove = __devexit_p(bw2_remove), |
383 | }; | 386 | }; |
diff --git a/drivers/video/cg14.c b/drivers/video/cg14.c index 77a040af20a7..d12e05b6e63f 100644 --- a/drivers/video/cg14.c +++ b/drivers/video/cg14.c | |||
@@ -596,8 +596,11 @@ static const struct of_device_id cg14_match[] = { | |||
596 | MODULE_DEVICE_TABLE(of, cg14_match); | 596 | MODULE_DEVICE_TABLE(of, cg14_match); |
597 | 597 | ||
598 | static struct of_platform_driver cg14_driver = { | 598 | static struct of_platform_driver cg14_driver = { |
599 | .name = "cg14", | 599 | .driver = { |
600 | .match_table = cg14_match, | 600 | .name = "cg14", |
601 | .owner = THIS_MODULE, | ||
602 | .of_match_table = cg14_match, | ||
603 | }, | ||
601 | .probe = cg14_probe, | 604 | .probe = cg14_probe, |
602 | .remove = __devexit_p(cg14_remove), | 605 | .remove = __devexit_p(cg14_remove), |
603 | }; | 606 | }; |
diff --git a/drivers/video/cg3.c b/drivers/video/cg3.c index 30eedf79322c..b98f93f7f663 100644 --- a/drivers/video/cg3.c +++ b/drivers/video/cg3.c | |||
@@ -463,8 +463,11 @@ static const struct of_device_id cg3_match[] = { | |||
463 | MODULE_DEVICE_TABLE(of, cg3_match); | 463 | MODULE_DEVICE_TABLE(of, cg3_match); |
464 | 464 | ||
465 | static struct of_platform_driver cg3_driver = { | 465 | static struct of_platform_driver cg3_driver = { |
466 | .name = "cg3", | 466 | .driver = { |
467 | .match_table = cg3_match, | 467 | .name = "cg3", |
468 | .owner = THIS_MODULE, | ||
469 | .of_match_table = cg3_match, | ||
470 | }, | ||
468 | .probe = cg3_probe, | 471 | .probe = cg3_probe, |
469 | .remove = __devexit_p(cg3_remove), | 472 | .remove = __devexit_p(cg3_remove), |
470 | }; | 473 | }; |
diff --git a/drivers/video/cg6.c b/drivers/video/cg6.c index 7f59b0fe5dc2..480d761a27a8 100644 --- a/drivers/video/cg6.c +++ b/drivers/video/cg6.c | |||
@@ -856,8 +856,11 @@ static const struct of_device_id cg6_match[] = { | |||
856 | MODULE_DEVICE_TABLE(of, cg6_match); | 856 | MODULE_DEVICE_TABLE(of, cg6_match); |
857 | 857 | ||
858 | static struct of_platform_driver cg6_driver = { | 858 | static struct of_platform_driver cg6_driver = { |
859 | .name = "cg6", | 859 | .driver = { |
860 | .match_table = cg6_match, | 860 | .name = "cg6", |
861 | .owner = THIS_MODULE, | ||
862 | .of_match_table = cg6_match, | ||
863 | }, | ||
861 | .probe = cg6_probe, | 864 | .probe = cg6_probe, |
862 | .remove = __devexit_p(cg6_remove), | 865 | .remove = __devexit_p(cg6_remove), |
863 | }; | 866 | }; |
diff --git a/drivers/video/ffb.c b/drivers/video/ffb.c index ddd46f71e250..95c0227f47fc 100644 --- a/drivers/video/ffb.c +++ b/drivers/video/ffb.c | |||
@@ -1053,8 +1053,11 @@ static const struct of_device_id ffb_match[] = { | |||
1053 | MODULE_DEVICE_TABLE(of, ffb_match); | 1053 | MODULE_DEVICE_TABLE(of, ffb_match); |
1054 | 1054 | ||
1055 | static struct of_platform_driver ffb_driver = { | 1055 | static struct of_platform_driver ffb_driver = { |
1056 | .name = "ffb", | 1056 | .driver = { |
1057 | .match_table = ffb_match, | 1057 | .name = "ffb", |
1058 | .owner = THIS_MODULE, | ||
1059 | .of_match_table = ffb_match, | ||
1060 | }, | ||
1058 | .probe = ffb_probe, | 1061 | .probe = ffb_probe, |
1059 | .remove = __devexit_p(ffb_remove), | 1062 | .remove = __devexit_p(ffb_remove), |
1060 | }; | 1063 | }; |
diff --git a/drivers/video/fsl-diu-fb.c b/drivers/video/fsl-diu-fb.c index 930a2522a631..27455ce298b7 100644 --- a/drivers/video/fsl-diu-fb.c +++ b/drivers/video/fsl-diu-fb.c | |||
@@ -1647,9 +1647,11 @@ static struct of_device_id fsl_diu_match[] = { | |||
1647 | MODULE_DEVICE_TABLE(of, fsl_diu_match); | 1647 | MODULE_DEVICE_TABLE(of, fsl_diu_match); |
1648 | 1648 | ||
1649 | static struct of_platform_driver fsl_diu_driver = { | 1649 | static struct of_platform_driver fsl_diu_driver = { |
1650 | .owner = THIS_MODULE, | 1650 | .driver = { |
1651 | .name = "fsl_diu", | 1651 | .name = "fsl_diu", |
1652 | .match_table = fsl_diu_match, | 1652 | .owner = THIS_MODULE, |
1653 | .of_match_table = fsl_diu_match, | ||
1654 | }, | ||
1653 | .probe = fsl_diu_probe, | 1655 | .probe = fsl_diu_probe, |
1654 | .remove = fsl_diu_remove, | 1656 | .remove = fsl_diu_remove, |
1655 | .suspend = fsl_diu_suspend, | 1657 | .suspend = fsl_diu_suspend, |
diff --git a/drivers/video/leo.c b/drivers/video/leo.c index 1db55f128490..3d7895316eaf 100644 --- a/drivers/video/leo.c +++ b/drivers/video/leo.c | |||
@@ -663,8 +663,11 @@ static const struct of_device_id leo_match[] = { | |||
663 | MODULE_DEVICE_TABLE(of, leo_match); | 663 | MODULE_DEVICE_TABLE(of, leo_match); |
664 | 664 | ||
665 | static struct of_platform_driver leo_driver = { | 665 | static struct of_platform_driver leo_driver = { |
666 | .name = "leo", | 666 | .driver = { |
667 | .match_table = leo_match, | 667 | .name = "leo", |
668 | .owner = THIS_MODULE, | ||
669 | .of_match_table = leo_match, | ||
670 | }, | ||
668 | .probe = leo_probe, | 671 | .probe = leo_probe, |
669 | .remove = __devexit_p(leo_remove), | 672 | .remove = __devexit_p(leo_remove), |
670 | }; | 673 | }; |
diff --git a/drivers/video/mb862xx/mb862xxfb.c b/drivers/video/mb862xx/mb862xxfb.c index 8280a58a0e55..0540de4f5cb4 100644 --- a/drivers/video/mb862xx/mb862xxfb.c +++ b/drivers/video/mb862xx/mb862xxfb.c | |||
@@ -718,9 +718,11 @@ static struct of_device_id __devinitdata of_platform_mb862xx_tbl[] = { | |||
718 | }; | 718 | }; |
719 | 719 | ||
720 | static struct of_platform_driver of_platform_mb862xxfb_driver = { | 720 | static struct of_platform_driver of_platform_mb862xxfb_driver = { |
721 | .owner = THIS_MODULE, | 721 | .driver = { |
722 | .name = DRV_NAME, | 722 | .name = DRV_NAME, |
723 | .match_table = of_platform_mb862xx_tbl, | 723 | .owner = THIS_MODULE, |
724 | .of_match_table = of_platform_mb862xx_tbl, | ||
725 | }, | ||
724 | .probe = of_platform_mb862xx_probe, | 726 | .probe = of_platform_mb862xx_probe, |
725 | .remove = __devexit_p(of_platform_mb862xx_remove), | 727 | .remove = __devexit_p(of_platform_mb862xx_remove), |
726 | }; | 728 | }; |
diff --git a/drivers/video/p9100.c b/drivers/video/p9100.c index 81440f2b9091..c85dd408a9b8 100644 --- a/drivers/video/p9100.c +++ b/drivers/video/p9100.c | |||
@@ -353,8 +353,11 @@ static const struct of_device_id p9100_match[] = { | |||
353 | MODULE_DEVICE_TABLE(of, p9100_match); | 353 | MODULE_DEVICE_TABLE(of, p9100_match); |
354 | 354 | ||
355 | static struct of_platform_driver p9100_driver = { | 355 | static struct of_platform_driver p9100_driver = { |
356 | .name = "p9100", | 356 | .driver = { |
357 | .match_table = p9100_match, | 357 | .name = "p9100", |
358 | .owner = THIS_MODULE, | ||
359 | .of_match_table = p9100_match, | ||
360 | }, | ||
358 | .probe = p9100_probe, | 361 | .probe = p9100_probe, |
359 | .remove = __devexit_p(p9100_remove), | 362 | .remove = __devexit_p(p9100_remove), |
360 | }; | 363 | }; |
diff --git a/drivers/video/platinumfb.c b/drivers/video/platinumfb.c index 69d78d50f0f6..72a1f4c04732 100644 --- a/drivers/video/platinumfb.c +++ b/drivers/video/platinumfb.c | |||
@@ -679,8 +679,11 @@ static struct of_device_id platinumfb_match[] = | |||
679 | 679 | ||
680 | static struct of_platform_driver platinum_driver = | 680 | static struct of_platform_driver platinum_driver = |
681 | { | 681 | { |
682 | .name = "platinumfb", | 682 | .driver = { |
683 | .match_table = platinumfb_match, | 683 | .name = "platinumfb", |
684 | .owner = THIS_MODULE, | ||
685 | .of_match_table = platinumfb_match, | ||
686 | }, | ||
684 | .probe = platinumfb_probe, | 687 | .probe = platinumfb_probe, |
685 | .remove = platinumfb_remove, | 688 | .remove = platinumfb_remove, |
686 | }; | 689 | }; |
diff --git a/drivers/video/sunxvr1000.c b/drivers/video/sunxvr1000.c index ad92a200fafa..489b44e8db81 100644 --- a/drivers/video/sunxvr1000.c +++ b/drivers/video/sunxvr1000.c | |||
@@ -199,10 +199,13 @@ static const struct of_device_id gfb_match[] = { | |||
199 | MODULE_DEVICE_TABLE(of, ffb_match); | 199 | MODULE_DEVICE_TABLE(of, ffb_match); |
200 | 200 | ||
201 | static struct of_platform_driver gfb_driver = { | 201 | static struct of_platform_driver gfb_driver = { |
202 | .name = "gfb", | ||
203 | .match_table = gfb_match, | ||
204 | .probe = gfb_probe, | 202 | .probe = gfb_probe, |
205 | .remove = __devexit_p(gfb_remove), | 203 | .remove = __devexit_p(gfb_remove), |
204 | .driver = { | ||
205 | .name = "gfb", | ||
206 | .owner = THIS_MODULE, | ||
207 | .of_match_table = gfb_match, | ||
208 | }, | ||
206 | }; | 209 | }; |
207 | 210 | ||
208 | static int __init gfb_init(void) | 211 | static int __init gfb_init(void) |
diff --git a/drivers/video/tcx.c b/drivers/video/tcx.c index c0c2b18fcdcf..ef7a7bd8b503 100644 --- a/drivers/video/tcx.c +++ b/drivers/video/tcx.c | |||
@@ -512,8 +512,11 @@ static const struct of_device_id tcx_match[] = { | |||
512 | MODULE_DEVICE_TABLE(of, tcx_match); | 512 | MODULE_DEVICE_TABLE(of, tcx_match); |
513 | 513 | ||
514 | static struct of_platform_driver tcx_driver = { | 514 | static struct of_platform_driver tcx_driver = { |
515 | .name = "tcx", | 515 | .driver = { |
516 | .match_table = tcx_match, | 516 | .name = "tcx", |
517 | .owner = THIS_MODULE, | ||
518 | .of_match_table = tcx_match, | ||
519 | }, | ||
517 | .probe = tcx_probe, | 520 | .probe = tcx_probe, |
518 | .remove = __devexit_p(tcx_remove), | 521 | .remove = __devexit_p(tcx_remove), |
519 | }; | 522 | }; |
diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c index 6fcec553662c..574dc54e12d4 100644 --- a/drivers/video/xilinxfb.c +++ b/drivers/video/xilinxfb.c | |||
@@ -492,13 +492,12 @@ static struct of_device_id xilinxfb_of_match[] __devinitdata = { | |||
492 | MODULE_DEVICE_TABLE(of, xilinxfb_of_match); | 492 | MODULE_DEVICE_TABLE(of, xilinxfb_of_match); |
493 | 493 | ||
494 | static struct of_platform_driver xilinxfb_of_driver = { | 494 | static struct of_platform_driver xilinxfb_of_driver = { |
495 | .owner = THIS_MODULE, | ||
496 | .name = DRIVER_NAME, | ||
497 | .match_table = xilinxfb_of_match, | ||
498 | .probe = xilinxfb_of_probe, | 495 | .probe = xilinxfb_of_probe, |
499 | .remove = __devexit_p(xilinxfb_of_remove), | 496 | .remove = __devexit_p(xilinxfb_of_remove), |
500 | .driver = { | 497 | .driver = { |
501 | .name = DRIVER_NAME, | 498 | .name = DRIVER_NAME, |
499 | .owner = THIS_MODULE, | ||
500 | .of_match_table = xilinxfb_of_match, | ||
502 | }, | 501 | }, |
503 | }; | 502 | }; |
504 | 503 | ||