mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
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:
committed by
Guenter Roeck
parent
7475ea8b58
commit
e1edcd5da2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user