diff options
Diffstat (limited to 'drivers/watchdog/riowd.c')
-rw-r--r-- | drivers/watchdog/riowd.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/watchdog/riowd.c b/drivers/watchdog/riowd.c index ea7f803f6248..5dceeddc8859 100644 --- a/drivers/watchdog/riowd.c +++ b/drivers/watchdog/riowd.c | |||
@@ -239,8 +239,11 @@ static const struct of_device_id riowd_match[] = { | |||
239 | MODULE_DEVICE_TABLE(of, riowd_match); | 239 | MODULE_DEVICE_TABLE(of, riowd_match); |
240 | 240 | ||
241 | static struct of_platform_driver riowd_driver = { | 241 | static struct of_platform_driver riowd_driver = { |
242 | .name = DRIVER_NAME, | 242 | .driver = { |
243 | .match_table = riowd_match, | 243 | .name = DRIVER_NAME, |
244 | .owner = THIS_MODULE, | ||
245 | .of_match_table = riowd_match, | ||
246 | }, | ||
244 | .probe = riowd_probe, | 247 | .probe = riowd_probe, |
245 | .remove = __devexit_p(riowd_remove), | 248 | .remove = __devexit_p(riowd_remove), |
246 | }; | 249 | }; |