USB: add USB_DEVICE_AND_INTERFACE_INFO for device matching
authorDaniel Drake <dsd@gentoo.org>
Wed, 9 May 2007 23:32:24 +0000 (00:32 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:29:48 +0000 (16:29 -0700)
commit8538f96ae5aada1c04d69a993b20ad160b191d47
tree53545dc889b838ad9807acff4d2b4409f0661b72
parent7f9985c2e4e5555b750d6f891b4923e63cc834c1
USB: add USB_DEVICE_AND_INTERFACE_INFO for device matching

Recently, the USB device matching code stopped matching generic interface
matches against devices with vendor-specific device class values.

Some drivers now need to explicitly match USB device ID's (in addition to
generic interface info) to retain the same behaviour as before. This new macro,
suggested by Alan Stern, makes the explicit device/interface matching a little
simpler for those users.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/usb.h