summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-06 20:42:08 +0200
committerBjorn Helgaas <bhelgaas@google.com>2016-10-11 15:45:47 +0200
commit7a29f04a56649f75b3877d161d291af711646b41 (patch)
tree8c2cffb3cd6cbbe4db939ffc097d57689a5a7d34 /drivers/pci
parentPCI: spear: Pass device-specific struct to internal functions (diff)
downloadlinux-7a29f04a56649f75b3877d161d291af711646b41.tar.xz
linux-7a29f04a56649f75b3877d161d291af711646b41.zip
PCI: spear: Reorder struct spear13xx_pcie
Reorder struct spear13xx_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/pcie-spear13xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-spear13xx.c b/drivers/pci/host/pcie-spear13xx.c
index 26e905d8922c..ecfb49e91d7b 100644
--- a/drivers/pci/host/pcie-spear13xx.c
+++ b/drivers/pci/host/pcie-spear13xx.c
@@ -25,10 +25,10 @@
#include "pcie-designware.h"
struct spear13xx_pcie {
+ struct pcie_port pp; /* DT dbi is pp.dbi_base */
void __iomem *app_base;
struct phy *phy;
struct clk *clk;
- struct pcie_port pp;
bool is_gen1;
};