[PATCH 1/8] ehci-pci: use PCI_VDEVICE() instead of PCI_DEVICE()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix using the PCI_DEVICE() macro instead of less verbose PCI_VDEVICE().

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>

---
 drivers/usb/host/ehci-pci.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: usb/drivers/usb/host/ehci-pci.c
===================================================================
--- usb.orig/drivers/usb/host/ehci-pci.c
+++ usb/drivers/usb/host/ehci-pci.c
@@ -49,9 +49,9 @@ static inline bool is_intel_quark_x1000(
  */
 static const struct pci_device_id bypass_pci_id_table[] = {
 	/* ChipIdea on Intel MID platform */
-	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x0811), },
-	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x0829), },
-	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0xe006), },
+	{ PCI_VDEVICE(INTEL, 0x0811), },
+	{ PCI_VDEVICE(INTEL, 0x0829), },
+	{ PCI_VDEVICE(INTEL, 0xe006), },
 	{}
 };
 

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux