summaryrefslogtreecommitdiff
path: root/drivers/watchdog/moxart_wdt.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-03 14:06:09 +0300
committerWim Van Sebroeck <wim@iguana.be>2015-09-28 11:56:01 +0300
commitc73318f43d3967e3ce810665d9c74a7d238d24d1 (patch)
tree42eb1df0186ab9cbfb52ca6bcbcfde54448bb02a /drivers/watchdog/moxart_wdt.c
parent097f70b3c4d84ffccca15195bdfde3a37c0a7c0f (diff)
downloadlinux-c73318f43d3967e3ce810665d9c74a7d238d24d1.tar.xz
watchdog: Fix module autoload for OF platform driver
These platform drivers have a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt <luis@debethencourt.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/moxart_wdt.c')
-rw-r--r--drivers/watchdog/moxart_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/moxart_wdt.c b/drivers/watchdog/moxart_wdt.c
index 2789da2c0515..60b0605bd7e6 100644
--- a/drivers/watchdog/moxart_wdt.c
+++ b/drivers/watchdog/moxart_wdt.c
@@ -168,6 +168,7 @@ static const struct of_device_id moxart_watchdog_match[] = {
{ .compatible = "moxa,moxart-watchdog" },
{ },
};
+MODULE_DEVICE_TABLE(of, moxart_watchdog_match);
static struct platform_driver moxart_wdt_driver = {
.probe = moxart_wdt_probe,