[PATCH 1/3] net: ftmac100: change driver name from nds32_mac to ftmac100

Ramon Fried rfried.dev at gmail.com
Tue Jan 10 18:11:59 CET 2023


On Wed, Dec 28, 2022 at 1:55 PM Sergei Antonov <saproj at gmail.com> wrote:
>
> So it will be named similarly to the related ftgmac100 driver.
> The old name 'nds32_mac' is not referred to anywhere in U-Boot.
>
> Signed-off-by: Sergei Antonov <saproj at gmail.com>
> ---
>  drivers/net/ftmac100.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ftmac100.c b/drivers/net/ftmac100.c
> index c30ace96bb13..b3da9479ea5e 100644
> --- a/drivers/net/ftmac100.c
> +++ b/drivers/net/ftmac100.c
> @@ -434,7 +434,7 @@ static const struct udevice_id ftmac100_ids[] = {
>  };
>
>  U_BOOT_DRIVER(ftmac100) = {
> -       .name   = "nds32_mac",
> +       .name   = "ftmac100",
>         .id     = UCLASS_ETH,
>         .of_match = ftmac100_ids,
>         .bind   = ftmac100_bind,
> --
> 2.34.1
>
Reviewed-by: Ramon Fried <rfried.dev at gmail.com>


More information about the U-Boot mailing list