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>
This commit is contained in:
		
							parent
							
								
									2433a182ad
								
							
						
					
					
						commit
						1f79f98f05
					
				| @ -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; | ||||
|  | ||||
| @ -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; | ||||
|  | ||||
| @ -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, | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user