[PATCH] watchdog: imx2_wdt: add module device table

Russell King rmk+kernel at arm.linux.org.uk
Wed Oct 30 19:57:00 EDT 2013


Add the module device table declaration so the module can be loaded
automatically at boot time.

Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
---
 drivers/watchdog/imx2_wdt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/watchdog/imx2_wdt.c b/drivers/watchdog/imx2_wdt.c
index 693ac3f4de5a..ae1ac198d968 100644
--- a/drivers/watchdog/imx2_wdt.c
+++ b/drivers/watchdog/imx2_wdt.c
@@ -340,3 +340,4 @@ MODULE_DESCRIPTION("Watchdog driver for IMX2 and later");
 MODULE_LICENSE("GPL v2");
 MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR);
 MODULE_ALIAS("platform:" DRIVER_NAME);
+MODULE_DEVICE_TABLE(of, imx2_wdt_dt_ids);
-- 
1.7.4.4




More information about the linux-arm-kernel mailing list