diff options
author | Alex Bounine <alex.bou9@gmail.com> | 2008-02-11 20:33:40 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-02-11 20:45:52 +0100 |
commit | a235ef2c632a096cdb2b02379c89b49e97faaaa4 (patch) | |
tree | 31868b9d280059dc5745dd9ff5f763e842e1ea54 /drivers/net/tsi108_eth.c | |
parent | net/phy/fixed.c: fix a use-after-free (diff) | |
download | linux-a235ef2c632a096cdb2b02379c89b49e97faaaa4.tar.xz 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.c | 1 |
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 |