Commit feaf68d7 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Greg Kroah-Hartman

[PATCH] USB kaweth: use alloc_etherdev to allocate device private data - fix

Goof found by compile warning.


From: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 0057282c
......@@ -916,7 +916,7 @@ static int kaweth_probe(
if (!netdev)
return -ENOMEM;
kaweth = netdev_priv(dev);
kaweth = netdev_priv(netdev);
kaweth->dev = dev;
kaweth->net = netdev;
......
Markdown is supported
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