summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-06 13:35:17 -0500
committerBjorn Helgaas <bhelgaas@google.com>2016-10-11 22:26:28 -0500
commit916bf1cc6528618197cdaf05ad42a9a82e9dea04 (patch)
treefb39f10285f9187b4e4919c0699b2953bd1ea59d /drivers/pci
parent2a6a85d5368e55e506abd7ca79f08131028bb0bc (diff)
downloadop-kernel-dev-916bf1cc6528618197cdaf05ad42a9a82e9dea04.zip
op-kernel-dev-916bf1cc6528618197cdaf05ad42a9a82e9dea04.tar.gz
PCI: imx6: Reorder struct imx6_pcie
Reorder struct imx6_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-imx6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
index bedd436..79becd7 100644
--- a/drivers/pci/host/pci-imx6.c
+++ b/drivers/pci/host/pci-imx6.c
@@ -39,13 +39,13 @@ enum imx6_pcie_variants {
};
struct imx6_pcie {
+ struct pcie_port pp; /* pp.dbi_base is DT 0th resource */
int reset_gpio;
bool gpio_active_high;
struct clk *pcie_bus;
struct clk *pcie_phy;
struct clk *pcie_inbound_axi;
struct clk *pcie;
- struct pcie_port pp;
struct regmap *iomuxc_gpr;
enum imx6_pcie_variants variant;
u32 tx_deemph_gen1;
OpenPOWER on IntegriCloud