]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: dra7xx: Pass device-specific struct to internal functions
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:33:05 +0000 (13:33 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 02:09:14 +0000 (21:09 -0500)
commit45a14d2c2b83cc252e124889494a2e6b45775350
tree1415a82f422d1a8532a580b7795472db908d4445
parent90f0c75ea2ed2fc2d2b62daf11dc51672c80a310
PCI: dra7xx: 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-dra7xx.c