PCI: imx6: Pass device-specific struct to internal functions
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 03:06:47 +0000 (22:06 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 03:26:28 +0000 (22:26 -0500)
commite7d7705ace9494949863848ec77536d5a3287b0a
tree91b1b7f835f6401758100b61e2e7adc9eb25d547
parent8bad7f2fc3006d1752c426343ca77f1fbe61cf00
PCI: imx6: 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-imx6.c