summary refs log tree commit diff
path: root/drivers/usb/host/ehci-pci.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2006-04-09 20:07:35 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2006-04-27 10:28:59 -0700
commitc67808eee61a01c3128298c5972426a1a67b9093 (patch)
tree3eb417f4e3a119f74d1e4c26f3c5ef794d9ed8db /drivers/usb/host/ehci-pci.c
parent9fb81ce63671f9743517f628dac935269f2581a9 (diff)
downloadlinux-c67808eee61a01c3128298c5972426a1a67b9093.tar.gz
[PATCH] USB: Use new PCI_CLASS_SERIAL_USB_* defines
We could use the recently added PCI_CLASS_SERIAL_USB_UHCI,
PCI_CLASS_SERIAL_USB_OHCI and PCI_CLASS_SERIAL_USB_EHCI defines in
more places, for slightly shorter and clearer code.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-pci.c')
-rw-r--r--drivers/usb/host/ehci-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c
index 1e03f1a5a5fd..a1bd2bea6deb 100644
--- a/drivers/usb/host/ehci-pci.c
+++ b/drivers/usb/host/ehci-pci.c
@@ -350,7 +350,7 @@ static const struct hc_driver ehci_pci_hc_driver = {
 /* PCI driver selection metadata; PCI hotplugging uses this */
 static const struct pci_device_id pci_ids [] = { {
 	/* handle any USB 2.0 EHCI controller */
-	PCI_DEVICE_CLASS(((PCI_CLASS_SERIAL_USB << 8) | 0x20), ~0),
+	PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_USB_EHCI, ~0),
 	.driver_data =	(unsigned long) &ehci_pci_hc_driver,
 	},
 	{ /* end: all zeroes */ }