diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2016-03-15 14:06:00 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-03-15 08:52:28 -0500 |
commit | 7b78f48a0443eceae435870b14e86d586f8c2a3e (patch) | |
tree | 13d5d88f0937ac425ae20b0c983f89ed5eb113b8 /drivers/usb/gadget/udc/goku_udc.c | |
parent | caf02abf9bd00b4c23745a055c4f4c243eecd392 (diff) | |
download | op-kernel-dev-7b78f48a0443eceae435870b14e86d586f8c2a3e.zip op-kernel-dev-7b78f48a0443eceae435870b14e86d586f8c2a3e.tar.gz |
PCI: Add PCI_CLASS_SERIAL_USB_DEVICE definition
PCI-SIG has defined Interface FEh for Base Class 0Ch, Sub-Class 03h as "USB
Device (not host controller)". It is already being used in various USB
device controller drivers for matching, so add PCI_CLASS_SERIAL_USB_DEVICE
and use it.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/usb/gadget/udc/goku_udc.c')
-rw-r--r-- | drivers/usb/gadget/udc/goku_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/goku_udc.c b/drivers/usb/gadget/udc/goku_udc.c index 1fdfec1..d2205d9 100644 --- a/drivers/usb/gadget/udc/goku_udc.c +++ b/drivers/usb/gadget/udc/goku_udc.c @@ -1846,7 +1846,7 @@ err: /*-------------------------------------------------------------------------*/ static const struct pci_device_id pci_ids[] = { { - .class = ((PCI_CLASS_SERIAL_USB << 8) | 0xfe), + .class = PCI_CLASS_SERIAL_USB_DEVICE, .class_mask = ~0, .vendor = 0x102f, /* Toshiba */ .device = 0x0107, /* this UDC */ |