diff mbox series

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

Message ID 20221228115423.1035149-1-saproj@gmail.com
State Superseded
Delegated to: Ramon Fried
Headers show
Series [1/3] net: ftmac100: change driver name from nds32_mac to ftmac100 | expand

Commit Message

Sergei Antonov Dec. 28, 2022, 11:54 a.m. UTC
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@gmail.com>
---
 drivers/net/ftmac100.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ramon Fried Jan. 10, 2023, 5:11 p.m. UTC | #1
On Wed, Dec 28, 2022 at 1:55 PM Sergei Antonov <saproj@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@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@gmail.com>
diff mbox series

Patch

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,