aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2018-10-17 03:40:58 -0400
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2018-10-17 04:42:32 -0400
commit1f79f98f0575521df1a3921f30948b6cd8317ee4 (patch)
treee144592c8ae791136f48b1449957df9745765c07 /drivers/pci/controller/dwc
parent2433a182ad9c6b1febac75825cbf81f358fec474 (diff)
PCI: keystone: Remove unused argument from ks_dw_pcie_host_init()
No functional change. Remove unused "msi_intc_np" argument from ks_dw_pcie_host_init(). Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/pci/controller/dwc')
-rw-r--r--drivers/pci/controller/dwc/pci-keystone-dw.c3
-rw-r--r--drivers/pci/controller/dwc/pci-keystone.c2
-rw-r--r--drivers/pci/controller/dwc/pci-keystone.h3
3 files changed, 3 insertions, 5 deletions
diff --git a/drivers/pci/controller/dwc/pci-keystone-dw.c b/drivers/pci/controller/dwc/pci-keystone-dw.c
index 0682213328e9..4bd6c6e2b177 100644
--- a/drivers/pci/controller/dwc/pci-keystone-dw.c
+++ b/drivers/pci/controller/dwc/pci-keystone-dw.c
@@ -439,8 +439,7 @@ void ks_dw_pcie_initiate_link_train(struct keystone_pcie *ks_pcie)
439 * and call dw_pcie_v3_65_host_init() API to initialize the Keystone 439 * and call dw_pcie_v3_65_host_init() API to initialize the Keystone
440 * PCI host controller. 440 * PCI host controller.
441 */ 441 */
442int __init ks_dw_pcie_host_init(struct keystone_pcie *ks_pcie, 442int __init ks_dw_pcie_host_init(struct keystone_pcie *ks_pcie)
443 struct device_node *msi_intc_np)
444{ 443{
445 struct dw_pcie *pci = ks_pcie->pci; 444 struct dw_pcie *pci = ks_pcie->pci;
446 struct pcie_port *pp = &pci->pp; 445 struct pcie_port *pp = &pci->pp;
diff --git a/drivers/pci/controller/dwc/pci-keystone.c b/drivers/pci/controller/dwc/pci-keystone.c
index aa7e706fc37d..f87ade2de711 100644
--- a/drivers/pci/controller/dwc/pci-keystone.c
+++ b/drivers/pci/controller/dwc/pci-keystone.c
@@ -341,7 +341,7 @@ static int __init ks_add_pcie_port(struct keystone_pcie *ks_pcie,
341 } 341 }
342 342
343 pp->ops = &keystone_pcie_host_ops; 343 pp->ops = &keystone_pcie_host_ops;
344 ret = ks_dw_pcie_host_init(ks_pcie, ks_pcie->msi_intc_np); 344 ret = ks_dw_pcie_host_init(ks_pcie);
345 if (ret) { 345 if (ret) {
346 dev_err(dev, "failed to initialize host\n"); 346 dev_err(dev, "failed to initialize host\n");
347 return ret; 347 return ret;
diff --git a/drivers/pci/controller/dwc/pci-keystone.h b/drivers/pci/controller/dwc/pci-keystone.h
index 8a13da391543..4eacc263f157 100644
--- a/drivers/pci/controller/dwc/pci-keystone.h
+++ b/drivers/pci/controller/dwc/pci-keystone.h
@@ -41,8 +41,7 @@ void ks_dw_pcie_enable_legacy_irqs(struct keystone_pcie *ks_pcie);
41void ks_dw_pcie_handle_legacy_irq(struct keystone_pcie *ks_pcie, int offset); 41void ks_dw_pcie_handle_legacy_irq(struct keystone_pcie *ks_pcie, int offset);
42void ks_dw_pcie_enable_error_irq(struct keystone_pcie *ks_pcie); 42void ks_dw_pcie_enable_error_irq(struct keystone_pcie *ks_pcie);
43irqreturn_t ks_dw_pcie_handle_error_irq(struct keystone_pcie *ks_pcie); 43irqreturn_t ks_dw_pcie_handle_error_irq(struct keystone_pcie *ks_pcie);
44int ks_dw_pcie_host_init(struct keystone_pcie *ks_pcie, 44int ks_dw_pcie_host_init(struct keystone_pcie *ks_pcie);
45 struct device_node *msi_intc_np);
46int ks_dw_pcie_wr_other_conf(struct pcie_port *pp, struct pci_bus *bus, 45int ks_dw_pcie_wr_other_conf(struct pcie_port *pp, struct pci_bus *bus,
47 unsigned int devfn, int where, int size, u32 val); 46 unsigned int devfn, int where, int size, u32 val);
48int ks_dw_pcie_rd_other_conf(struct pcie_port *pp, struct pci_bus *bus, 47int ks_dw_pcie_rd_other_conf(struct pcie_port *pp, struct pci_bus *bus,