diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-12-16 21:19:01 -0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-08 16:28:48 +0100 |
commit | 2d6bc5b3ff958c6ab905b1b477acc25b9430f118 (patch) | |
tree | bb12cd1a168f27602db3b8e919040f0a175a070f | |
parent | b7159f3048dff832f7e46eb3c1ddb95243484b66 (diff) | |
download | barebox-2d6bc5b3ff958c6ab905b1b477acc25b9430f118.tar.gz barebox-2d6bc5b3ff958c6ab905b1b477acc25b9430f118.tar.xz |
PCI: imx6: Reorder struct imx6_pcie
Port of a Linux commit 916bf1cc6528618197cdaf05ad42a9a82e9dea04
Reorder struct imx6_pcie to put generic fields first. No functional change
intended.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | drivers/pci/pci-imx6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-imx6.c b/drivers/pci/pci-imx6.c index f3e9ea31b8..baa07447ec 100644 --- a/drivers/pci/pci-imx6.c +++ b/drivers/pci/pci-imx6.c @@ -43,11 +43,11 @@ enum imx6_pcie_variants { }; struct imx6_pcie { + struct pcie_port pp; /* pp.dbi_base is DT 0th resource */ int reset_gpio; struct clk *pcie_bus; struct clk *pcie_phy; struct clk *pcie; - struct pcie_port pp; void __iomem *iomuxc_gpr; enum imx6_pcie_variants variant; u32 tx_deemph_gen1; |