]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
PCI: keystone: Move resources initialization to prepare for EP support
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 25 Mar 2019 09:39:27 +0000 (15:09 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 15 Apr 2019 12:14:45 +0000 (13:14 +0100)
commitb1dee41b76927747c1c63c5196ce9eaec6d0e81a
tree9eaab52a3e61e65cd58cc3bd5a07db3bc43326ce
parent2341ab4fd5d7ee3db5c67e8ff8506722910df8e9
PCI: keystone: Move resources initialization to prepare for EP support

Move platform_get_resource() calls for resources that are applicable to
both host and endpoint mode (ie "dbics" and "app") from
ks_add_pcie_port() to the probe() callback, in preparation for adding
endpoint support to pci-keystone driver.

No functional change intended.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/dwc/pci-keystone.c