]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf17d0ef7d368f115cc718da356809ae572fa894f
tree91b1b7f835f6401758100b61e2e7adc9eb25d547
parent380026fac233362d87bbdd54d10152b6584831e3
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