mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	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
					
				
					 3 changed files with 3 additions and 5 deletions
				
			
		| 
						 | 
					@ -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
 | 
					 * and call dw_pcie_v3_65_host_init() API to initialize the Keystone
 | 
				
			||||||
 * PCI host controller.
 | 
					 * PCI host controller.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
int __init ks_dw_pcie_host_init(struct keystone_pcie *ks_pcie,
 | 
					int __init ks_dw_pcie_host_init(struct keystone_pcie *ks_pcie)
 | 
				
			||||||
				struct device_node *msi_intc_np)
 | 
					 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct dw_pcie *pci = ks_pcie->pci;
 | 
						struct dw_pcie *pci = ks_pcie->pci;
 | 
				
			||||||
	struct pcie_port *pp = &pci->pp;
 | 
						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;
 | 
						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) {
 | 
						if (ret) {
 | 
				
			||||||
		dev_err(dev, "failed to initialize host\n");
 | 
							dev_err(dev, "failed to initialize host\n");
 | 
				
			||||||
		return ret;
 | 
							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_handle_legacy_irq(struct keystone_pcie *ks_pcie, int offset);
 | 
				
			||||||
void ks_dw_pcie_enable_error_irq(struct keystone_pcie *ks_pcie);
 | 
					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);
 | 
					irqreturn_t ks_dw_pcie_handle_error_irq(struct keystone_pcie *ks_pcie);
 | 
				
			||||||
int  ks_dw_pcie_host_init(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_wr_other_conf(struct pcie_port *pp, struct pci_bus *bus,
 | 
					int ks_dw_pcie_wr_other_conf(struct pcie_port *pp, struct pci_bus *bus,
 | 
				
			||||||
		unsigned int devfn, int where, int size, u32 val);
 | 
							unsigned int devfn, int where, int size, u32 val);
 | 
				
			||||||
int ks_dw_pcie_rd_other_conf(struct pcie_port *pp, struct pci_bus *bus,
 | 
					int ks_dw_pcie_rd_other_conf(struct pcie_port *pp, struct pci_bus *bus,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue