From: Henk Date: Fri, 30 Dec 2005 18:41:11 +0000 (+0100) Subject: [PATCH] drivers/usb/input/yealink.c: Cleanup device matching code X-Git-Tag: v2.6.16-rc2~226 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e2ce4f92a0f34e8c3316ec58fd6eb6aa282448e;p=pandora-kernel.git [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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed