]> git.baikalelectronics.ru Git - uboot.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)
commit05108db47efb88beb1f38b54d62c0d7311e5fa18
tree68a393429cc7b97ad8664cc739b51ae1ce5507ba
parent865d1cc7c19d8108ee17ef349d5b717705f12fee
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]