summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-06 20:33:40 +0200
committerBjorn Helgaas <bhelgaas@google.com>2016-10-12 04:30:52 +0200
commit6b1f185a5f0705694b23bbc5af588db957f90d95 (patch)
tree1afd7d170f43a8584867319bf5b847f572968790 /drivers/pci
parentPCI: exynos: Pass device-specific struct to internal functions (diff)
downloadlinux-6b1f185a5f0705694b23bbc5af588db957f90d95.tar.xz
linux-6b1f185a5f0705694b23bbc5af588db957f90d95.zip
PCI: exynos: Reorder struct exynos_pcie
Reorder struct exynos_pcie to put generic fields first. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/host/pci-exynos.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/pci/host/pci-exynos.c b/drivers/pci/host/pci-exynos.c
index 829aa6be0861..f1c544bb8b68 100644
--- a/drivers/pci/host/pci-exynos.c
+++ b/drivers/pci/host/pci-exynos.c
@@ -29,13 +29,13 @@
#define to_exynos_pcie(x) container_of(x, struct exynos_pcie, pp)
struct exynos_pcie {
- void __iomem *elbi_base;
- void __iomem *phy_base;
- void __iomem *block_base;
+ struct pcie_port pp;
+ void __iomem *elbi_base; /* DT 0th resource */
+ void __iomem *phy_base; /* DT 1st resource */
+ void __iomem *block_base; /* DT 2nd resource */
int reset_gpio;
struct clk *clk;
struct clk *bus_clk;
- struct pcie_port pp;
};
/* PCIe ELBI registers */