mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-30 19:48:19 +00:00 
			
		
		
		
	Export the ldpaa_eth_get_dpmac_id() function so that it can be used from other drivers, especially by fsl-mc which will need it the next patch. Also, create a macro for the Ethernet ldpaa driver name and export it as well. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
		
			
				
	
	
		
			16 lines
		
	
	
		
			323 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			323 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * Copyright 2023 NXP
 | |
|  */
 | |
| 
 | |
| #define LDPAA_ETH_DRIVER_NAME	"ldpaa_eth"
 | |
| 
 | |
| /**
 | |
|  * ldpaa_eth_get_dpmac_id() - Get the dpmac_id of a DPAA2 ethernet device
 | |
|  *
 | |
|  * @dev:	DPAA2 ethernet udevice pointer
 | |
|  * Return: requested dpmac_id
 | |
|  */
 | |
| 
 | |
| uint32_t ldpaa_eth_get_dpmac_id(struct udevice *dev);
 |