PCI: armada: Reorder struct armada8k_pcie
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:30:00 +0000 (13:30 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 01:33:01 +0000 (20:33 -0500)
Reorder the device-specific struct to put the DesignWare generic struct
pcie_port first.  No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/pci/host/pcie-armada8k.c

index 63297ed6571ea9e618e30de049083a411cb53ae4..0ac0f18690f20a6743193cb9714feaf72f309487 100644 (file)
@@ -29,8 +29,8 @@
 #include "pcie-designware.h"
 
 struct armada8k_pcie {
+       struct pcie_port pp;            /* pp.dbi_base is DT ctrl */
        struct clk *clk;
-       struct pcie_port pp;
 };
 
 #define PCIE_VENDOR_REGS_OFFSET                0x8000