summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-06 13:30:00 -0500
committerBjorn Helgaas <bhelgaas@google.com>2016-10-11 20:33:01 -0500
commita477815f89542e68b115128d375b6a57e93e1655 (patch)
tree60fd6fb6fe6b842a1fdb372e49e64cb588657e64 /drivers/pci
parentb2d6fd77d7f1df6a42e544b284ad3112dc401817 (diff)
PCI: armada: Reorder struct armada8k_pcie
Reorder the device-specific struct to put the DesignWare generic struct pcie_port first. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/host/pcie-armada8k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-armada8k.c b/drivers/pci/host/pcie-armada8k.c
index 63297ed6571e..0ac0f18690f2 100644
--- a/drivers/pci/host/pcie-armada8k.c
+++ b/drivers/pci/host/pcie-armada8k.c
@@ -29,8 +29,8 @@
#include "pcie-designware.h"
struct armada8k_pcie {
+ struct pcie_port pp; /* pp.dbi_base is DT ctrl */
struct clk *clk;
- struct pcie_port pp;
};
#define PCIE_VENDOR_REGS_OFFSET 0x8000