]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: net: ldpaa: export driver name and API to get DPMAC id
authorIoana Ciornei <ioana.ciornei@nxp.com>
Thu, 9 Feb 2023 16:07:03 +0000 (18:07 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 5 May 2023 17:41:55 +0000 (13:41 -0400)
commit3f1983d460d78a108d76315a4e0001add95754fa
tree68a393429cc7b97ad8664cc739b51ae1ce5507ba
parent1416b80de46ea6a194ad29a541a075ffba320927
drivers: net: ldpaa: export driver name and API to get DPMAC id

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>
drivers/net/ldpaa_eth/ldpaa_eth.c
include/net/ldpaa_eth.h [new file with mode: 0644]