9
0
Fork 0

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:
Jean-Christophe PLAGNIOL-VILLARD 2012-09-12 16:00:46 +02:00 committed by Sascha Hauer
parent 114c3d6294
commit 8b3bf5971a
1 changed files with 1 additions and 0 deletions

View File

@ -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;