summaryrefslogtreecommitdiffstats
path: root/drivers/net/tsi108_eth.c
diff options
context:
space:
mode:
authorAlex Bounine <alex.bou9@gmail.com>2008-02-11 14:33:40 -0500
committerJeff Garzik <jeff@garzik.org>2008-02-11 14:45:52 -0500
commita235ef2c632a096cdb2b02379c89b49e97faaaa4 (patch)
tree31868b9d280059dc5745dd9ff5f763e842e1ea54 /drivers/net/tsi108_eth.c
parent651be3a2ba95bc30fcb737985741736e63231cdf (diff)
downloadlinux-a235ef2c632a096cdb2b02379c89b49e97faaaa4.tar.gz
linux-a235ef2c632a096cdb2b02379c89b49e97faaaa4.tar.bz2
linux-a235ef2c632a096cdb2b02379c89b49e97faaaa4.zip
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 <alexandreb@tundra.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/tsi108_eth.c')
-rw-r--r--drivers/net/tsi108_eth.c1
1 files changed, 1 insertions, 0 deletions
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