From 94a0430efb51b95faa61df8f947b5de4a1ee0593 Mon Sep 17 00:00:00 2001 From: Dongjin Kim Date: Mon, 6 Nov 2023 14:21:05 +0900 Subject: [PATCH] ODROID-COMMON: PCIe/dw: rockchip: fix compile error This error happens after reverting the commit, [c3f038c2dcaf] "PCI: rockchip: dw_ep: Delaying the link training after hot reset" drivers/pci/controller/dwc/pcie-dw-rockchip.c: In function 'rk_pcie_really_probe': drivers/pci/controller/dwc/pcie-dw-rockchip.c:2105:9: error: 'struct rk_pcie' has no member named 'hot_rst_wq' rk_pcie->hot_rst_wq = create_singlethread_workqueue("rk_pcie_hot_rst_wq"); ^~ drivers/pci/controller/dwc/pcie-dw-rockchip.c:2106:14: error: 'struct rk_pcie' has no member named 'hot_rst_wq' if (!rk_pcie->hot_rst_wq) { ^~ In file included from ./include/linux/srcu.h:21:0, from ./include/linux/notifier.h:16, from ./include/linux/clk.h:14, from drivers/pci/controller/dwc/pcie-dw-rockchip.c:11: Signed-off-by: Dongjin Kim Change-Id: Ic948980de4a1ba9a30fbdcb4daf8f518c96f054b --- drivers/pci/controller/dwc/pcie-dw-rockchip.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-dw-rockchip.c b/drivers/pci/controller/dwc/pcie-dw-rockchip.c index 39e0f8719f88..0c4993da8cf3 100644 --- a/drivers/pci/controller/dwc/pcie-dw-rockchip.c +++ b/drivers/pci/controller/dwc/pcie-dw-rockchip.c @@ -2102,14 +2102,6 @@ retry_regulator: dw_pcie_dbi_ro_wr_dis(pci); - rk_pcie->hot_rst_wq = create_singlethread_workqueue("rk_pcie_hot_rst_wq"); - if (!rk_pcie->hot_rst_wq) { - dev_err(dev, "failed to create hot_rst workqueue\n"); - ret = -ENOMEM; - goto remove_irq_domain; - } - INIT_WORK(&rk_pcie->hot_rst_work, rk_pcie_hot_rst_work); - device_init_wakeup(dev, true); /* Enable async system PM for multiports SoC */