Commit 16dc2880 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

net/at91: add adapter symlink into sysfs attributes

parent f7bd8499
......@@ -316,6 +316,7 @@ static int __init at91ether_probe(struct platform_device *pdev)
rtdev_alloc_name(dev, "rteth%d");
rt_rtdev_connect(dev, &RTDEV_manager);
dev->vers = RTDEV_VERS_2_0;
dev->sysbind = &pdev->dev;
lp = rtnetdev_priv(dev);
lp->pdev = pdev;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment