Skip to content

Commit b6061b1

Browse files
Thinh Nguyenbjorn-helgaas
authored andcommitted
PCI: Move Synopsys HAPS platform device IDs
Move Synopsys HAPS platform device IDs to pci_ids.h so that both drivers/pci/quirks.c and dwc3-haps driver can reference these IDs. Signed-off-by: Thinh Nguyen <thinhn@synopsys.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
1 parent 2209e06 commit b6061b1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

drivers/usb/dwc3/dwc3-haps.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
#include <linux/platform_device.h>
1616
#include <linux/property.h>
1717

18-
#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3 0xabcd
19-
#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3_AXI 0xabce
20-
#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB31 0xabcf
21-
2218
/**
2319
* struct dwc3_haps - Driver private structure
2420
* @dwc3: child dwc3 platform_device

include/linux/pci_ids.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2358,6 +2358,9 @@
23582358
#define PCI_DEVICE_ID_CENATEK_IDE 0x0001
23592359

23602360
#define PCI_VENDOR_ID_SYNOPSYS 0x16c3
2361+
#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3 0xabcd
2362+
#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3_AXI 0xabce
2363+
#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB31 0xabcf
23612364

23622365
#define PCI_VENDOR_ID_VITESSE 0x1725
23632366
#define PCI_DEVICE_ID_VITESSE_VSC7174 0x7174

0 commit comments

Comments
 (0)