diff options
Diffstat (limited to 'drivers/video/cg6.c')
-rw-r--r-- | drivers/video/cg6.c | 7 |
1 files changed, 5 insertions, 2 deletions
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 | }; |