]> 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)
commitcb6d63da31d60d2164dc22402140d14f2bd18244
tree91b1b7f835f6401758100b61e2e7adc9eb25d547
parentb5a1e831d251d3947af00677563bd3394e7dcbf4
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