]> 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)
commit79339be30c9e382fe16188b3766a501abd6c335e
tree496e29516973fc4c4c6818237aa3a5029f5ab669
parent02b9ad195bf1cbd83ba0057afe6f474f7e412c59
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