USB: storage: Define a new macro for USB storage match rules
authorfangxiaozhi <huananhu@huawei.com>
Mon, 4 Feb 2013 07:14:46 +0000 (15:14 +0800)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 20 Feb 2013 03:15:25 +0000 (03:15 +0000)
commit19c72d766156d20221dc399ebaf27fad2251e4ce
treec0281069f7ab611f62ead9dd5bd2a00d6d70a5a5
parentfe1c910dd7963d8bf58067e8627bdb07ae3625ef
USB: storage: Define a new macro for USB storage match rules

commit 07c7be3d87e5cdaf5f94c271c516456364ef286c upstream.

1. Define a new macro for USB storage match rules:
    matching with Vendor ID and interface descriptors.

Signed-off-by: fangxiaozhi <huananhu@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/storage/usb.c
drivers/usb/storage/usual-tables.c