From: Alex Bounine Date: Mon, 11 Feb 2008 19:33:40 +0000 (-0500) Subject: Tsi108_eth: add missing linking to driver data X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a235ef2c632a096cdb2b02379c89b49e97faaaa4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Tsi108_eth: add missing linking to driver data Bug fix for tsi108_eth network driver. This patch adds missing linking to driver data. Signed-off-by: Alexandre Bounine Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/tsi108_eth.c b/drivers/net/tsi108_eth.c index 35d15e850075..6f222d7e9126 100644 --- a/drivers/net/tsi108_eth.c +++ b/drivers/net/tsi108_eth.c @@ -1629,6 +1629,7 @@ tsi108_init_one(struct platform_device *pdev) goto register_fail; } + platform_set_drvdata(pdev, dev); printk(KERN_INFO "%s: Tsi108 Gigabit Ethernet, MAC: %s\n", dev->name, print_mac(mac, dev->dev_addr)); #ifdef DEBUG