aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/mpio.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/mpio.c b/kernel/mpio.c
index b9071b7..ec86928 100644
--- a/kernel/mpio.c
+++ b/kernel/mpio.c
@@ -340,12 +340,20 @@ file_operations usb_mpio_fops = {
release: close_mpio,
};
+static struct usb_device_id mpio_table [] = {
+ { USB_DEVICE(0x2735, 1) }, /* MPIO-* (all models?) */
+ { } /* Terminating entry */
+};
+
+MODULE_DEVICE_TABLE (usb, mpio_table);
+
static struct usb_driver mpio_driver = {
name: "mpio",
probe: probe_mpio,
disconnect: disconnect_mpio,
fops: &usb_mpio_fops,
minor: MPIO_MINOR,
+ id_table: mpio_table,
};
int usb_mpio_init(void)