usb: move definition of PCI_VENDOR_ID_SYNOPSYS to linux/pci_ids.h
authorJoseph Kogut <joseph.kogut@gmail.com>
Tue, 17 Feb 2015 02:32:46 +0000 (19:32 -0700)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:23 +0000 (15:33 -0500)
Removed FIXME from usb/dwc3/dwc3-pci.c by moving definition of
PCI_VENDOR_ID_SYNOPSYS shared with usb/dwc2 to linux/pci_ids.h.

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/pci.c
drivers/usb/dwc3/dwc3-pci.c
include/linux/pci_ids.h

index a4e724b0a62e9aa89cdecce45eea9991e857a051..6646adb1fb174ca883f548368a94cd168fb558ac 100644 (file)
@@ -54,7 +54,6 @@
 #include "core.h"
 #include "hcd.h"
 
-#define PCI_VENDOR_ID_SYNOPSYS         0x16c3
 #define PCI_PRODUCT_ID_HAPS_HSOTG      0xabc0
 
 static const char dwc2_driver_name[] = "dwc2";
index 8d950569d557bdacf2711fa8eb449a5dc63f4f1a..b773fb53d6a7cd09be0daee5f119279ada098e78 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "platform_data.h"
 
-/* FIXME define these in <linux/pci_ids.h> */
-#define PCI_VENDOR_ID_SYNOPSYS         0x16c3
 #define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3        0xabcd
 #define PCI_DEVICE_ID_INTEL_BYT                0x0f37
 #define PCI_DEVICE_ID_INTEL_MRFLD      0x119e
index e63c02a93f6be81a0a3c1d3f81cde7e798aa7e6a..38cff8f6716dd7f6532a6ecb39b750844b346692 100644 (file)
 #define PCI_VENDOR_ID_CENATEK          0x16CA
 #define PCI_DEVICE_ID_CENATEK_IDE      0x0001
 
+#define PCI_VENDOR_ID_SYNOPSYS         0x16c3
+
 #define PCI_VENDOR_ID_VITESSE          0x1725
 #define PCI_DEVICE_ID_VITESSE_VSC7174  0x7174