diff options
Diffstat (limited to 'drivers/video/cg3.c')
-rw-r--r-- | drivers/video/cg3.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/video/cg3.c b/drivers/video/cg3.c index 30eedf79322..b98f93f7f66 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 | }; |