Browse Source

PCI: keystone: Reorder struct keystone_pcie

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

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Bjorn Helgaas 8 years ago
parent
commit
4841f3ad0c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/pci/host/pci-keystone.h

+ 2 - 2
drivers/pci/host/pci-keystone.h

@@ -17,8 +17,8 @@
 #define MAX_LEGACY_HOST_IRQS		4
 #define MAX_LEGACY_HOST_IRQS		4
 
 
 struct keystone_pcie {
 struct keystone_pcie {
+	struct	pcie_port	pp;		/* pp.dbi_base is DT 0th res */
 	struct	clk		*clk;
 	struct	clk		*clk;
-	struct	pcie_port	pp;
 	/* PCI Device ID */
 	/* PCI Device ID */
 	u32			device_id;
 	u32			device_id;
 	int			num_legacy_host_irqs;
 	int			num_legacy_host_irqs;
@@ -34,7 +34,7 @@ struct keystone_pcie {
 	int error_irq;
 	int error_irq;
 
 
 	/* Application register space */
 	/* Application register space */
-	void __iomem		*va_app_base;
+	void __iomem		*va_app_base;	/* DT 1st resource */
 	struct resource		app;
 	struct resource		app;
 };
 };