diff options
Diffstat (limited to 'drivers/sbus/char/display7seg.c')
-rw-r--r-- | drivers/sbus/char/display7seg.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c index 7fc7f34f3466..7baf1b644039 100644 --- a/drivers/sbus/char/display7seg.c +++ b/drivers/sbus/char/display7seg.c | |||
@@ -266,8 +266,11 @@ static const struct of_device_id d7s_match[] = { | |||
266 | MODULE_DEVICE_TABLE(of, d7s_match); | 266 | MODULE_DEVICE_TABLE(of, d7s_match); |
267 | 267 | ||
268 | static struct of_platform_driver d7s_driver = { | 268 | static struct of_platform_driver d7s_driver = { |
269 | .name = DRIVER_NAME, | 269 | .driver = { |
270 | .match_table = d7s_match, | 270 | .name = DRIVER_NAME, |
271 | .owner = THIS_MODULE, | ||
272 | .of_match_table = d7s_match, | ||
273 | }, | ||
271 | .probe = d7s_probe, | 274 | .probe = d7s_probe, |
272 | .remove = __devexit_p(d7s_remove), | 275 | .remove = __devexit_p(d7s_remove), |
273 | }; | 276 | }; |