summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-06 20:38:05 +0200
committerBjorn Helgaas <bhelgaas@google.com>2016-10-12 06:15:58 +0200
commit6caaa28d926165e9943267b3e8b4f19686f22257 (patch)
tree02277390a226a6a5414600bffc4666135dd0701b
parentPCI: layerscape: Remove unused ls_add_pcie_port() platform_device arg (diff)
downloadlinux-6caaa28d926165e9943267b3e8b4f19686f22257.tar.xz
linux-6caaa28d926165e9943267b3e8b4f19686f22257.zip
PCI: layerscape: Reorder struct ls_pcie
Reorder struct ls_pcie to put generic fields first. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r--drivers/pci/host/pci-layerscape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-layerscape.c b/drivers/pci/host/pci-layerscape.c
index 3a86c1a24610..2cb7315e26d0 100644
--- a/drivers/pci/host/pci-layerscape.c
+++ b/drivers/pci/host/pci-layerscape.c
@@ -45,9 +45,9 @@ struct ls_pcie_drvdata {
};
struct ls_pcie {
+ struct pcie_port pp; /* pp.dbi_base is DT regs */
void __iomem *lut;
struct regmap *scfg;
- struct pcie_port pp;
const struct ls_pcie_drvdata *drvdata;
int index;
};