summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-06 13:36:57 -0500
committerBjorn Helgaas <bhelgaas@google.com>2016-10-11 22:58:43 -0500
commit4841f3ad0cd00d77b77566e01f71769864f658d9 (patch)
treeaf263be397ff3be6474480844df611a61970fc2a /drivers/pci/host
parent5c725353e16169a612b1ba314778a2ccf4a9b05f (diff)
downloadlinux-4841f3ad0cd00d77b77566e01f71769864f658d9.tar.bz2
PCI: keystone: Reorder struct keystone_pcie
Reorder struct keystone_pcie to put generic fields first. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/host')
-rw-r--r--drivers/pci/host/pci-keystone.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/host/pci-keystone.h b/drivers/pci/host/pci-keystone.h
index fe2f741739c2..bc54bafda068 100644
--- a/drivers/pci/host/pci-keystone.h
+++ b/drivers/pci/host/pci-keystone.h
@@ -17,8 +17,8 @@
#define MAX_LEGACY_HOST_IRQS 4
struct keystone_pcie {
+ struct pcie_port pp; /* pp.dbi_base is DT 0th res */
struct clk *clk;
- struct pcie_port pp;
/* PCI Device ID */
u32 device_id;
int num_legacy_host_irqs;
@@ -34,7 +34,7 @@ struct keystone_pcie {
int error_irq;
/* Application register space */
- void __iomem *va_app_base;
+ void __iomem *va_app_base; /* DT 1st resource */
struct resource app;
};