From e1edcd5da23fc3f107eeaee4ffed6a151a168a3f Mon Sep 17 00:00:00 2001 From: Qiwen Gong Date: Thu, 15 Oct 2026 06:25:56 +0000 Subject: [PATCH] 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 Link: https://patch.msgid.link/20261015062556.3362356-1-qiwen.neosys@isrc.iscas.ac.cn Signed-off-by: Guenter Roeck --- drivers/watchdog/sc1200wdt.c | 1 + 1 file changed, 1 insertion(+) 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)