summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
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 8a22d8bf59..7c2454f5ae 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,