git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
watchdog: fix platform driver hotplug/coldplug
[sfrench/cifs-2.6.git]
/
drivers
/
watchdog
/
at32ap700x_wdt.c
diff --git
a/drivers/watchdog/at32ap700x_wdt.c
b/drivers/watchdog/at32ap700x_wdt.c
index fb5ed6478f78e66b5b86ad42ee08c6e20864585b..ae0fca5e8749e450308f9b14b1a92f061c5cdd44 100644
(file)
--- 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)
#define at32_wdt_resume NULL
#endif
+/* work with hotplug and coldplug */
+MODULE_ALIAS("platform:at32_wdt");
+
static struct platform_driver at32_wdt_driver = {
.remove = __exit_p(at32_wdt_remove),
.suspend = at32_wdt_suspend,