Skip to contentSkip to conversation

watchdog: imx2_wdt: add module device table

PATCH New Russell King 4 participants 4 messages Oct 30, 2013 – Oct 31, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog: imx2_wdt: add module device table

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

---
 drivers/watchdog/imx2_wdt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/watchdog/imx2_wdt.c +1 -0
index 693ac3f4de5a..ae1ac198d968 100644
@@ -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);
Signature · 1 line
1.7.4.4
maintainer
#1 lore raw

PATCH 1/1 watchdog: imx2_wdt: add module device table

Quoted 4 lines · Russell King

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

Hi Russell,

Wim should have this patch in his queue already, as 'watchdog: imx2_wdt:
expose module alias for loading from device-tree', submitted by Niels de Vos back in July.

Thanks,
Guenter

Quoted 21 lines
---
 drivers/watchdog/imx2_wdt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/watchdog/imx2_wdt.c +1 -0
index 693ac3f4de5a..ae1ac198d968 100644
@@ -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);
Signature · 6 lines
1.7.4.4

--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw

PATCH 1/1 watchdog: imx2_wdt: add module device table

Quoted 11 lines · Guenter Roeck
Quoted 4 lines · Russell King

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

Hi Russell,

Wim should have this patch in his queue already, as 'watchdog: imx2_wdt:
expose module alias for loading from device-tree', submitted by Niels de Vos back in July.

Any reason it hasn't made it in yet? We had a merge window back in September where, if we're not happy to apply it as a fix during -rc, it could have gone in. I see watchdog stuff did merge during the last merge window...

#3 lore raw

Hi Russel,

Quoted 7 lines
Quoted 7 lines
Quoted 4 lines

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

Hi Russell,

Quoted 8 lines
Quoted 3 lines

Wim should have this patch in his queue already, as 'watchdog: imx2_wdt:
expose module alias for loading from device-tree', submitted by Niels de Vos back in July.

Any reason it hasn't made it in yet? We had a merge window back in September where, if we're not happy to apply it as a fix during -rc, it could have gone in. I see watchdog stuff did merge during the last merge window...

Lack of time due to an outsourcing project at a customer of mine.

But the patch is indeed in linux-watchdog-next now.

Kind regards,
Wim.