PCI: spear: Pass device-specific struct to internal functions
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:42:08 +0000 (13:42 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 11 Oct 2016 13:45:47 +0000 (08:45 -0500)
commitffe82fa66afb19c2d5a4b8a0da6d05df2b5a6dc5
tree496e29516973fc4c4c6818237aa3a5029f5ab669
parentca7b941c900f2b265e7a1ac18bb963ee7b31141d
PCI: spear: Pass device-specific struct to internal functions

Only interfaces used from outside the driver, e.g., those called by the
DesignWare core, need to accept pointers to the generic struct pcie_port.
Internal interfaces can accept pointers to the device-specific struct,
which makes them more straightforward.  No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-spear13xx.c