diff options
author | Henk <Henk.Vergonet@gmail.com> | 2005-12-30 19:41:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-31 17:23:37 -0800 |
commit | 8e2ce4f92a0f34e8c3316ec58fd6eb6aa282448e (patch) | |
tree | cbb996b43ecc036d69d32bbdcf61e607c9dc676f /drivers/usb/storage/unusual_devs.h | |
parent | 09c280a24650ff74e713742e94120fdf7765cda8 (diff) |
[PATCH] drivers/usb/input/yealink.c: Cleanup device matching code
This should fix things mentioned below:
"I was curious why my firewall was loading a 'phone driver'.
It turns out that the probing in the yealink driver is
a little too assuming..
static struct usb_device_id usb_table [] = {
{ USB_INTERFACE_INFO(USB_CLASS_HID, 0, 0) },
{ }
};
So it picked up my UPS, and loaded the driver.
Whilst no harm came, because it later checks the vendor/product IDs,
this driver should probably be rewritten to only probe
for the device IDs it actually knows about.
Dave"
Signed-off-by: Henk Vergonet <henk.vergonet@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage/unusual_devs.h')
0 files changed, 0 insertions, 0 deletions