Home Home > GIT Browse > stable
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2019-05-17 06:38:43 +0200
committerJiri Slaby <jslaby@suse.cz>2019-05-17 06:38:49 +0200
commitd1369697bb78f1ae7a79f2e15076112e8f49a7a1 (patch)
tree1474fac1afeaa9798144531abea6e74732aefee6
parentcf2264a09792821bb3d431d68fd095370f85387d (diff)
net: seeq: fix crash caused by not set dev.parent (bnc#1012628).
-rw-r--r--drivers/net/ethernet/seeq/sgiseeq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/seeq/sgiseeq.c b/drivers/net/ethernet/seeq/sgiseeq.c
index 70cce63a6081..696037d5ac3d 100644
--- a/drivers/net/ethernet/seeq/sgiseeq.c
+++ b/drivers/net/ethernet/seeq/sgiseeq.c
@@ -735,6 +735,7 @@ static int sgiseeq_probe(struct platform_device *pdev)
}
platform_set_drvdata(pdev, dev);
+ SET_NETDEV_DEV(dev, &pdev->dev);
sp = netdev_priv(dev);
/* Make private data page aligned */