ODROID-COMMON: PCIe/dw: rockchip: fix compile error

This error happens after reverting the commit,
[c3f038c2dc] "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 <tobetter@gmail.com>
Change-Id: Ic948980de4a1ba9a30fbdcb4daf8f518c96f054b
This commit is contained in:
Dongjin Kim
2023-11-06 14:21:05 +09:00
parent bd1ea209fd
commit 94a0430efb

View File

@@ -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 */