]> git.baikalelectronics.ru Git - kernel.git/commitdiff
PCI: keystone: Remove unused argument from ks_dw_pcie_host_init()
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Oct 2018 07:40:58 +0000 (13:10 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 17 Oct 2018 08:42:32 +0000 (09:42 +0100)
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>
drivers/pci/controller/dwc/pci-keystone-dw.c
drivers/pci/controller/dwc/pci-keystone.c
drivers/pci/controller/dwc/pci-keystone.h

index 0682213328e93ba2a000b4c67bb92736b0518228..4bd6c6e2b177443c9ec8870aa8202e451771caf1 100644 (file)
@@ -439,8 +439,7 @@ void ks_dw_pcie_initiate_link_train(struct keystone_pcie *ks_pcie)
  * and call dw_pcie_v3_65_host_init() API to initialize the Keystone
  * PCI host controller.
  */
-int __init ks_dw_pcie_host_init(struct keystone_pcie *ks_pcie,
-                               struct device_node *msi_intc_np)
+int __init ks_dw_pcie_host_init(struct keystone_pcie *ks_pcie)
 {
        struct dw_pcie *pci = ks_pcie->pci;
        struct pcie_port *pp = &pci->pp;
index aa7e706fc37df5e0db575e798c6bd2e61d0fd87c..f87ade2de711bc3712afe84dccefb720aa8b4314 100644 (file)
@@ -341,7 +341,7 @@ static int __init ks_add_pcie_port(struct keystone_pcie *ks_pcie,
        }
 
        pp->ops = &keystone_pcie_host_ops;
-       ret = ks_dw_pcie_host_init(ks_pcie, ks_pcie->msi_intc_np);
+       ret = ks_dw_pcie_host_init(ks_pcie);
        if (ret) {
                dev_err(dev, "failed to initialize host\n");
                return ret;
index 8a13da3915433e8999b8a8e7958cba5a3d462f45..4eacc263f157854ca211c715add6316d57548119 100644 (file)
@@ -41,8 +41,7 @@ void ks_dw_pcie_enable_legacy_irqs(struct keystone_pcie *ks_pcie);
 void ks_dw_pcie_handle_legacy_irq(struct keystone_pcie *ks_pcie, int offset);
 void ks_dw_pcie_enable_error_irq(struct keystone_pcie *ks_pcie);
 irqreturn_t ks_dw_pcie_handle_error_irq(struct keystone_pcie *ks_pcie);
-int  ks_dw_pcie_host_init(struct keystone_pcie *ks_pcie,
-                       struct device_node *msi_intc_np);
+int  ks_dw_pcie_host_init(struct keystone_pcie *ks_pcie);
 int ks_dw_pcie_wr_other_conf(struct pcie_port *pp, struct pci_bus *bus,
                unsigned int devfn, int where, int size, u32 val);
 int ks_dw_pcie_rd_other_conf(struct pcie_port *pp, struct pci_bus *bus,