PCI: layerscape: Pass device-specific struct to internal functions
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:38:05 +0000 (13:38 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 04:14:25 +0000 (23:14 -0500)
commit7b0b11133cbf14fe7113a7fa8506ac18f35c9ea5
tree206df3710b166954e1353ed02244a2062ed909b3
parentd41d2959593b920e855cdd8d1829c33d34fb1071
PCI: layerscape: 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/pci-layerscape.c