]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: dwc: designware: Get device pointer at the start of dw_pcie_host_init()
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 15 Feb 2017 13:18:13 +0000 (18:48 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 21 Feb 2017 21:00:26 +0000 (15:00 -0600)
commitbb7554f94f2a4b8bcaba9b8c6ab6003876001f66
tree98adb5d1545cc7ed8bec8c3da1e0d18d69088384
parent5c5f71f6f497930b925721d820bf2b55f53d11a2
PCI: dwc: designware: Get device pointer at the start of dw_pcie_host_init()

No functional change. Get device pointer at the beginning of
dw_pcie_host_init() instead of getting it all over dw_pcie_host_init().
This is in preparation for splitting struct pcie_port into host and core
structures (once split pcie_port will not have device pointer).

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/dwc/pcie-designware.c