diff options
Diffstat (limited to 'drivers/pci/dwc/pci-keystone.h')
-rw-r--r-- | drivers/pci/dwc/pci-keystone.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pci/dwc/pci-keystone.h b/drivers/pci/dwc/pci-keystone.h index 74c5825882df..30b7bc2ac380 100644 --- a/drivers/pci/dwc/pci-keystone.h +++ b/drivers/pci/dwc/pci-keystone.h | |||
@@ -12,9 +12,7 @@ | |||
12 | * published by the Free Software Foundation. | 12 | * published by the Free Software Foundation. |
13 | */ | 13 | */ |
14 | 14 | ||
15 | #define MAX_LEGACY_IRQS 4 | ||
16 | #define MAX_MSI_HOST_IRQS 8 | 15 | #define MAX_MSI_HOST_IRQS 8 |
17 | #define MAX_LEGACY_HOST_IRQS 4 | ||
18 | 16 | ||
19 | struct keystone_pcie { | 17 | struct keystone_pcie { |
20 | struct dw_pcie *pci; | 18 | struct dw_pcie *pci; |
@@ -22,7 +20,7 @@ struct keystone_pcie { | |||
22 | /* PCI Device ID */ | 20 | /* PCI Device ID */ |
23 | u32 device_id; | 21 | u32 device_id; |
24 | int num_legacy_host_irqs; | 22 | int num_legacy_host_irqs; |
25 | int legacy_host_irqs[MAX_LEGACY_HOST_IRQS]; | 23 | int legacy_host_irqs[PCI_NUM_INTX]; |
26 | struct device_node *legacy_intc_np; | 24 | struct device_node *legacy_intc_np; |
27 | 25 | ||
28 | int num_msi_host_irqs; | 26 | int num_msi_host_irqs; |