diff options
author | germeier <germeier> | 2002-09-13 16:22:32 +0000 |
---|---|---|
committer | germeier <germeier> | 2002-09-13 16:22:32 +0000 |
commit | b10e3b7730109f824575b45ba38b8f95520add02 (patch) | |
tree | b63dc27d52efb1d4792fe0606598667a95618952 | |
parent | 690c9e245e451dfd9723fd2dd86bac999228b4c9 (diff) | |
download | mpiosh-b10e3b7730109f824575b45ba38b8f95520add02.tar.gz mpiosh-b10e3b7730109f824575b45ba38b8f95520add02.tar.bz2 mpiosh-b10e3b7730109f824575b45ba38b8f95520add02.zip |
added USB device information to the MODULE_DEVICE_TABLE
-rw-r--r-- | kernel/mpio.c | 8 |
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) |