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