From: Kishon Vijay Abraham I Date: Mon, 14 Jan 2019 11:15:11 +0000 (+0530) Subject: PCI: rockchip: Remove pci_epf_linkup() from Rockchip EP driver X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f1267978457e77ae7ddabe82ad48cf34f54e96fb;p=linux.git PCI: rockchip: Remove pci_epf_linkup() from Rockchip EP driver pci_epf_linkup() is intended to be invoked if the EPC supports linkup notification. Now that pci-epf-test uses get_features callback, which indicates Rockchip EP driver doesn't support linkup notification, remove pci_epf_linkup() from Rockchip EP driver. Tested-by: Gustavo Pimentel Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Lorenzo Pieralisi Acked-by: Shawn Lin --- diff --git a/drivers/pci/controller/pcie-rockchip-ep.c b/drivers/pci/controller/pcie-rockchip-ep.c index 9b60ad323ac71..a5d799e2dff21 100644 --- a/drivers/pci/controller/pcie-rockchip-ep.c +++ b/drivers/pci/controller/pcie-rockchip-ep.c @@ -499,9 +499,6 @@ static int rockchip_pcie_ep_start(struct pci_epc *epc) rockchip_pcie_write(rockchip, cfg, PCIE_CORE_PHY_FUNC_CFG); - list_for_each_entry(epf, &epc->pci_epf, list) - pci_epf_linkup(epf); - return 0; }