aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-01-19 15:35:00 -0500
committerTom Rini <trini@konsulko.com>2021-01-19 15:35:00 -0500
commit26e85bf77a0767939330b719261e72914e8c32df (patch)
tree82bbff29e16835b84f4b089a4681c7a992915b30 /net
parent9d13cd95f1df7d04f702975cdcdd8e087f71f74c (diff)
downloadu-boot-26e85bf77a0767939330b719261e72914e8c32df.zip
u-boot-26e85bf77a0767939330b719261e72914e8c32df.tar.gz
u-boot-26e85bf77a0767939330b719261e72914e8c32df.tar.bz2
Revert "net: eth-uclass: Change uclass driver name to ethernet"
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>
Diffstat (limited to 'net')
-rw-r--r--net/eth-uclass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/eth-uclass.c b/net/eth-uclass.c
index 8a22d8b..7c2454f 100644
--- a/net/eth-uclass.c
+++ b/net/eth-uclass.c
@@ -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,