aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/dwc/pci-keystone.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2017-08-16 14:32:34 -0400
committerBjorn Helgaas <bhelgaas@google.com>2017-08-16 14:32:34 -0400
commit44b5557a13bdc04fda582b6fdfa3819792fbfe94 (patch)
tree2596c025be1b88e845057726b81d3b04f12c6fd8 /drivers/pci/dwc/pci-keystone.c
parent54f910abe1c8c09f3777e310a2a350e7db4695b9 (diff)
PCI: keystone: Remove duplicate MAX_*_IRQS defs
MAX_MSI_HOST_IRQS and MAX_LEGACY_HOST_IRQS are defined in both pci-keystone.h (which is included by pci-keystone.c) and in pci-keystone.c itself. Remove the duplicate definitions from pci-keystone.c. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Cc: Murali Karicheri <m-karicheri2@ti.com>
Diffstat (limited to 'drivers/pci/dwc/pci-keystone.c')
-rw-r--r--drivers/pci/dwc/pci-keystone.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pci/dwc/pci-keystone.c b/drivers/pci/dwc/pci-keystone.c
index 4783cec1f78d..fb8504690923 100644
--- a/drivers/pci/dwc/pci-keystone.c
+++ b/drivers/pci/dwc/pci-keystone.c
@@ -32,10 +32,6 @@
32 32
33#define DRIVER_NAME "keystone-pcie" 33#define DRIVER_NAME "keystone-pcie"
34 34
35/* driver specific constants */
36#define MAX_MSI_HOST_IRQS 8
37#define MAX_LEGACY_HOST_IRQS 4
38
39/* DEV_STAT_CTRL */ 35/* DEV_STAT_CTRL */
40#define PCIE_CAP_BASE 0x70 36#define PCIE_CAP_BASE 0x70
41 37