]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: spear: Pass device-specific struct to internal functions
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:42:08 +0000 (13:42 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 11 Oct 2016 13:45:47 +0000 (08:45 -0500)
commit7521a6754de6148d15621b764b72baae90ddce15
tree496e29516973fc4c4c6818237aa3a5029f5ab669
parent1cdfd512beead4c4d659e0a88da2016762ffd6c6
PCI: spear: 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-spear13xx.c