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