瀏覽代碼

PCI: exynos: Reorder struct exynos_pcie

Reorder struct exynos_pcie to put generic fields first.  No functional
change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Bjorn Helgaas 8 年之前
父節點
當前提交
6b1f185a5f
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      drivers/pci/host/pci-exynos.c

+ 4 - 4
drivers/pci/host/pci-exynos.c

@@ -29,13 +29,13 @@
 #define to_exynos_pcie(x)	container_of(x, struct exynos_pcie, pp)
 #define to_exynos_pcie(x)	container_of(x, struct exynos_pcie, pp)
 
 
 struct exynos_pcie {
 struct exynos_pcie {
-	void __iomem		*elbi_base;
-	void __iomem		*phy_base;
-	void __iomem		*block_base;
+	struct pcie_port	pp;
+	void __iomem		*elbi_base;	/* DT 0th resource */
+	void __iomem		*phy_base;	/* DT 1st resource */
+	void __iomem		*block_base;	/* DT 2nd resource */
 	int			reset_gpio;
 	int			reset_gpio;
 	struct clk		*clk;
 	struct clk		*clk;
 	struct clk		*bus_clk;
 	struct clk		*bus_clk;
-	struct pcie_port	pp;
 };
 };
 
 
 /* PCIe ELBI registers */
 /* PCIe ELBI registers */