diff options
Diffstat (limited to 'drivers/watchdog/jz4740.c')
-rw-r--r-- | drivers/watchdog/jz4740.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/watchdog/jz4740.c b/drivers/watchdog/jz4740.c index ed38ba7bd8..8b4b985cd4 100644 --- a/drivers/watchdog/jz4740.c +++ b/drivers/watchdog/jz4740.c @@ -60,7 +60,7 @@ static void __noreturn jz4740_reset_soc(struct restart_handler *rst) hang(); } -static int jz4740_wdt_probe(struct device_d *dev) +static int jz4740_wdt_probe(struct device *dev) { struct resource *iores; struct jz4740_wdt_drvdata *priv; @@ -89,8 +89,9 @@ static __maybe_unused struct of_device_id jz4740_wdt_dt_ids[] = { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, jz4740_wdt_dt_ids); -static struct driver_d jz4740_wdt_driver = { +static struct driver jz4740_wdt_driver = { .name = "jz4740-wdt", .probe = jz4740_wdt_probe, .of_compatible = DRV_OF_COMPAT(jz4740_wdt_dt_ids), |