From 136be950466b3ccf6c2256789db787259190f059 Mon Sep 17 00:00:00 2001 From: Pengpeng Hou Date: Sat, 4 Jul 2026 16:24:57 -0700 Subject: [PATCH] Input: ims-pcu - add missing MODULE_DEVICE_TABLE() The driver has a match table for the usb bus wired into its driver structure, but the table is not exported with MODULE_DEVICE_TABLE(). Add the missing MODULE_DEVICE_TABLE() entry so module alias information is generated for automatic module loading. Signed-off-by: Pengpeng Hou Link: https://patch.msgid.link/20260704151730.42772-1-pengpeng@iscas.ac.cn Signed-off-by: Dmitry Torokhov --- drivers/input/misc/ims-pcu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/misc/ims-pcu.c b/drivers/input/misc/ims-pcu.c index b1ff8c70877f..b1a0edcc49b4 100644 --- a/drivers/input/misc/ims-pcu.c +++ b/drivers/input/misc/ims-pcu.c @@ -2234,6 +2234,7 @@ static const struct usb_device_id ims_pcu_id_table[] = { }, { } }; +MODULE_DEVICE_TABLE(usb, ims_pcu_id_table); static const struct attribute_group *ims_pcu_sysfs_groups[] = { &ims_pcu_attr_group,