[PATCH v2] most: most_usb: add the missing USB module device table
From: Pengpeng Hou
Date: Fri Aug 14 2026 - 04:08:19 EST
The USB device ID table is used by the driver but is not exported
with MODULE_DEVICE_TABLE(). As a result, module alias information is not
generated for automatic loading.
Export the existing table.
Fixes: a4198cdf0c34 ("Staging: most: add MOST driver's hdm-usb module")
Assisted-by: Codex:gpt-5
Signed-off-by: Pengpeng Hou <pengpeng@xxxxxxxxxxx>
---
Changes since v1: https://lore.kernel.org/all/20260704151852.45201-1-pengpeng@xxxxxxxxxxx/
- rebase on current MOST USB sources
- add the coding-assistant disclosure
The driver-owned ID table and module alias publication were reviewed
statically; no MOST hardware test was performed.
drivers/most/most_usb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/most/most_usb.c b/drivers/most/most_usb.c
index 6437733afee0..af29a04065c1 100644
--- a/drivers/most/most_usb.c
+++ b/drivers/most/most_usb.c
@@ -780,6 +780,7 @@ static const struct usb_device_id usbid[] = {
{ USB_DEVICE(USB_VENDOR_ID_SMSC, USB_DEV_ID_OS81210), },
{ } /* Terminating entry */
};
+MODULE_DEVICE_TABLE(usb, usbid);
struct regs {
const char *name;
--
2.50.1 (Apple Git-155)