]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: hisi: Pass device-specific struct to internal functions
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:34:23 +0000 (13:34 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 05:08:27 +0000 (00:08 -0500)
commit9d6aacc35e864dffcef793b5144a59fdaa8985be
tree39d8a48bfc15049c349ed15c462600c8242ed9cc
parentfc834b8f4803c031c7a2fc62189c4ba779155c07
PCI: hisi: 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-hisi.c