summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-06 20:33:06 +0200
committerBjorn Helgaas <bhelgaas@google.com>2016-10-12 07:05:54 +0200
commit8e5ec4143d6e9bff056bbf9b38b90932adbd7232 (patch)
tree1d0c96f70b2340a8376b5bb0fdb3624b5e59dfd2 /drivers/pci
parentPCI: dra7xx: Move struct pcie_port setup to probe function (diff)
downloadlinux-8e5ec4143d6e9bff056bbf9b38b90932adbd7232.tar.xz
linux-8e5ec4143d6e9bff056bbf9b38b90932adbd7232.zip
PCI: dra7xx: Reorder struct dra7xx_pcie
Reorder struct dra7xx_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-dra7xx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/host/pci-dra7xx.c b/drivers/pci/host/pci-dra7xx.c
index bb77c357e011..9595fad63f6f 100644
--- a/drivers/pci/host/pci-dra7xx.c
+++ b/drivers/pci/host/pci-dra7xx.c
@@ -64,10 +64,10 @@
#define DRA7XX_CPU_TO_BUS_ADDR 0x0FFFFFFF
struct dra7xx_pcie {
- void __iomem *base;
- struct phy **phy;
- int phy_count;
struct pcie_port pp;
+ void __iomem *base; /* DT ti_conf */
+ int phy_count; /* DT phy-names count */
+ struct phy **phy;
};
#define to_dra7xx_pcie(x) container_of((x), struct dra7xx_pcie, pp)