mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 10:26:10 +01:00 
			
		
		
		
	pci: layerscape: ls_pcie_conf_address can be static
To avoid W=1 build warnings, declare this function as static, since it is not used outside of this translation module. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
		
				
					committed by
					
						 Tom Rini
						Tom Rini
					
				
			
			
				
	
			
			
			
						parent
						
							8101a40bf4
						
					
				
				
					commit
					c67930ef3e
				
			| @@ -143,8 +143,8 @@ static int ls_pcie_addr_valid(struct ls_pcie_rc *pcie_rc, pci_dev_t bdf) | |||||||
| 	return 0; | 	return 0; | ||||||
| } | } | ||||||
|  |  | ||||||
| int ls_pcie_conf_address(const struct udevice *bus, pci_dev_t bdf, | static int ls_pcie_conf_address(const struct udevice *bus, pci_dev_t bdf, | ||||||
| 			 uint offset, void **paddress) | 				uint offset, void **paddress) | ||||||
| { | { | ||||||
| 	struct ls_pcie_rc *pcie_rc = dev_get_priv(bus); | 	struct ls_pcie_rc *pcie_rc = dev_get_priv(bus); | ||||||
| 	struct ls_pcie *pcie = pcie_rc->pcie; | 	struct ls_pcie *pcie = pcie_rc->pcie; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user