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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
This commit is contained in:
Qiwen Gong
2026-11-08 17:45:19 -08:00
committed by Guenter Roeck
parent 7475ea8b58
commit e1edcd5da2
+1
View File
@@ -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)