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,