]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Revert "net: eth-uclass: Change uclass driver name to ethernet"
authorTom Rini <trini@konsulko.com>
Tue, 19 Jan 2021 20:35:00 +0000 (15:35 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 19 Jan 2021 20:35:00 +0000 (15:35 -0500)
This reverts commit 1231184caacad32c180d7e2338a645f7dfe9571a.

While the change is fine in theory, a number of tests need to be updated
to match.

Signed-off-by: Tom Rini <trini@konsulko.com>
net/eth-uclass.c

index 8a22d8bf590affac33b61d3b7a5fd4f6111598bc..7c2454f5aee702483c1e6034ebef290fafba30f6 100644 (file)
@@ -597,8 +597,8 @@ static int eth_pre_remove(struct udevice *dev)
        return 0;
 }
 
-UCLASS_DRIVER(ethernet) = {
-       .name           = "ethernet",
+UCLASS_DRIVER(eth) = {
+       .name           = "eth",
        .id             = UCLASS_ETH,
        .post_bind      = eth_post_bind,
        .pre_unbind     = eth_pre_unbind,