tap: fix missing parent setting on eth_device
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
114c3d6294
commit
8b3bf5971a
|
@ -90,6 +90,7 @@ int tap_probe(struct device_d *dev)
|
|||
|
||||
edev = xmalloc(sizeof(struct eth_device));
|
||||
edev->priv = priv;
|
||||
edev->parent = dev;
|
||||
|
||||
edev->init = tap_eth_open;
|
||||
edev->open = tap_eth_open;
|
||||
|
|
Loading…
Reference in New Issue