mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	PCI: of_property: Rename struct of_pci_range to of_pci_range_entry
Previously there were two definitions of struct of_pci_range: one in include/linux/of_address.h and another local to drivers/pci/of_property.c. Rename the local struct of_pci_range to of_pci_range_entry to avoid confusion. Link: https://lore.kernel.org/r/20250117161037.643953-1-helgaas@kernel.org Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Lizhi Hou <lizhi.hou@amd.com>
This commit is contained in:
		
							parent
							
								
									d117b19698
								
							
						
					
					
						commit
						42d9972732
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -26,7 +26,7 @@ struct of_pci_addr_pair { | |||
|  * side and the child address is the corresponding address on the secondary | ||||
|  * side. | ||||
|  */ | ||||
| struct of_pci_range { | ||||
| struct of_pci_range_entry { | ||||
| 	u32		child_addr[OF_PCI_ADDRESS_CELLS]; | ||||
| 	u32		parent_addr[OF_PCI_ADDRESS_CELLS]; | ||||
| 	u32		size[OF_PCI_SIZE_CELLS]; | ||||
|  | @ -101,7 +101,7 @@ static int of_pci_prop_bus_range(struct pci_dev *pdev, | |||
| static int of_pci_prop_ranges(struct pci_dev *pdev, struct of_changeset *ocs, | ||||
| 			      struct device_node *np) | ||||
| { | ||||
| 	struct of_pci_range *rp; | ||||
| 	struct of_pci_range_entry *rp; | ||||
| 	struct resource *res; | ||||
| 	int i, j, ret; | ||||
| 	u32 flags, num; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bjorn Helgaas
						Bjorn Helgaas