PCI: layerscape: Reorder struct ls_pcie
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:38:05 +0000 (13:38 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 04:15:58 +0000 (23:15 -0500)
Reorder struct ls_pcie to put generic fields first.  No functional change
intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-layerscape.c

index 3a86c1a24610f42b2820de62a9d992412919b310..2cb7315e26d089701679e23a7fc3f8a9ce74e4cf 100644 (file)
@@ -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;
 };