PCI: hisi: Reorder struct hisi_pcie
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:34:24 +0000 (13:34 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 05:08:32 +0000 (00:08 -0500)
Reorder struct hisi_pcie to put generic fields first.  No functional change
intended.

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

index bfff666..56154c2 100644 (file)
@@ -37,9 +37,9 @@ struct pcie_soc_ops {
 };
 
 struct hisi_pcie {
+       struct pcie_port pp;            /* pp.dbi_base is DT rc_dbi */
        struct regmap *subctrl;
        u32 port_id;
-       struct pcie_port pp;
        struct pcie_soc_ops *soc_ops;
 };