]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: ftmac100: change driver name from nds32_mac to ftmac100
authorSergei Antonov <saproj@gmail.com>
Fri, 3 Feb 2023 19:09:02 +0000 (22:09 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 18:41:07 +0000 (13:41 -0500)
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>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
drivers/net/ftmac100.c

index f710c271c64b5c01a072aa821047ba7b75f329b3..7c89d7f67b8daf259938ae8a2d3b4baf1ad75a63 100644 (file)
@@ -348,7 +348,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,