diff options
Diffstat (limited to 'drivers/watchdog/at32ap700x_wdt.c')
| -rw-r--r-- | drivers/watchdog/at32ap700x_wdt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/watchdog/at32ap700x_wdt.c b/drivers/watchdog/at32ap700x_wdt.c index fb5ed6478f78..ae0fca5e8749 100644 --- a/drivers/watchdog/at32ap700x_wdt.c +++ b/drivers/watchdog/at32ap700x_wdt.c | |||
| @@ -418,6 +418,9 @@ static int at32_wdt_resume(struct platform_device *pdev) | |||
| 418 | #define at32_wdt_resume NULL | 418 | #define at32_wdt_resume NULL |
| 419 | #endif | 419 | #endif |
| 420 | 420 | ||
| 421 | /* work with hotplug and coldplug */ | ||
| 422 | MODULE_ALIAS("platform:at32_wdt"); | ||
| 423 | |||
| 421 | static struct platform_driver at32_wdt_driver = { | 424 | static struct platform_driver at32_wdt_driver = { |
| 422 | .remove = __exit_p(at32_wdt_remove), | 425 | .remove = __exit_p(at32_wdt_remove), |
| 423 | .suspend = at32_wdt_suspend, | 426 | .suspend = at32_wdt_suspend, |
