]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: layerscape: Pass device-specific struct to internal functions
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:38:05 +0000 (13:38 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 04:14:25 +0000 (23:14 -0500)
commit60633e463242acb99b5919fcbdb9c3724493d939
tree206df3710b166954e1353ed02244a2062ed909b3
parent3eb78a6cf767442a7041572629f99ec8a99f50ca
PCI: layerscape: 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-layerscape.c