diff options
Diffstat (limited to 'net/eth.c')
-rw-r--r-- | net/eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -198,7 +198,7 @@ int eth_register(struct eth_device *edev) } strcpy(edev->dev.name, "eth"); - edev->dev.id = -1; + edev->dev.id = DEVICE_ID_DYNAMIC; if (edev->parent) dev_add_child(edev->parent, &edev->dev); |