diff options
| author | Qiwen Gong <qiwen.neosys@isrc.iscas.ac.cn> | 2026-10-15 06:25:56 +0000 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-11-08 17:45:19 -0800 |
| commit | e1edcd5da23fc3f107eeaee4ffed6a151a168a3f (patch) | |
| tree | 84e222163c6cca14a20f98c9906ddeadf20ff88c | |
| parent | 7475ea8b58616b33c04afb976cf0fbaad9dd63fb (diff) | |
watchdog: sc1200wdt: add missing MODULE_DEVICE_TABLE()
Add MODULE_DEVICE_TABLE(pnp, scl200wdt_pnp_devices) beside the
existing table.
Built with CONFIG_COMPILE_TEST=y and CONFIG_PNP=y. modinfo of
sc1200wdt.ko shows pnp:dNSC0800* and acpi*:NSC0800:* only after this
change.
Found by comparing the id_table with module-alias publication.
Signed-off-by: Qiwen Gong <qiwen.neosys@isrc.iscas.ac.cn>
Link: https://patch.msgid.link/20261015062556.3362356-1-qiwen.neosys@isrc.iscas.ac.cn
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
| -rw-r--r-- | drivers/watchdog/sc1200wdt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/sc1200wdt.c b/drivers/watchdog/sc1200wdt.c index 34cd57420c86..12af8c736d0f 100644 --- a/drivers/watchdog/sc1200wdt.c +++ b/drivers/watchdog/sc1200wdt.c @@ -343,6 +343,7 @@ static const struct pnp_device_id scl200wdt_pnp_devices[] = { { .id = "NSC0800" }, { } }; +MODULE_DEVICE_TABLE(pnp, scl200wdt_pnp_devices); static int scl200wdt_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id) |
