]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: armada: Pass device-specific struct to internal functions
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:30:00 +0000 (13:30 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 01:29:21 +0000 (20:29 -0500)
commit284d4141a08eff53cbf58e15e8541223fd7fd557
treefe3a5cfec2824fadaea2909c8996dae1aa667f86
parent6d4074c99f3ae5e7560395e8668fed6cb2de52b3
PCI: armada: 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>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/pci/host/pcie-armada8k.c