From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXLAt-00068t-MN for barebox@lists.infradead.org; Thu, 13 Dec 2018 07:13:07 +0000 Received: by mail-pg1-x543.google.com with SMTP id d72so601562pga.9 for ; Wed, 12 Dec 2018 23:12:37 -0800 (PST) From: Andrey Smirnov Date: Wed, 12 Dec 2018 23:11:22 -0800 Message-Id: <20181213071144.31691-37-andrew.smirnov@gmail.com> In-Reply-To: <20181213071144.31691-1-andrew.smirnov@gmail.com> References: <20181213071144.31691-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 36/58] PCI: imx6: Reorder struct imx6_pcie To: barebox@lists.infradead.org Cc: Andrey Smirnov Port of a Linux commit 916bf1cc6528618197cdaf05ad42a9a82e9dea04 Reorder struct imx6_pcie to put generic fields first. No functional change intended. Signed-off-by: Bjorn Helgaas Signed-off-by: Andrey Smirnov --- drivers/pci/pci-imx6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci-imx6.c b/drivers/pci/pci-imx6.c index f3e9ea31b..baa07447e 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; -- 2.19.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox