Commit a235ef2c authored by Alex Bounine's avatar Alex Bounine Committed by Jeff Garzik

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: default avatarAlexandre Bounine <alexandreb@tundra.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 651be3a2
...@@ -1629,6 +1629,7 @@ tsi108_init_one(struct platform_device *pdev) ...@@ -1629,6 +1629,7 @@ tsi108_init_one(struct platform_device *pdev)
goto register_fail; goto register_fail;
} }
platform_set_drvdata(pdev, dev);
printk(KERN_INFO "%s: Tsi108 Gigabit Ethernet, MAC: %s\n", printk(KERN_INFO "%s: Tsi108 Gigabit Ethernet, MAC: %s\n",
dev->name, print_mac(mac, dev->dev_addr)); dev->name, print_mac(mac, dev->dev_addr));
#ifdef DEBUG #ifdef DEBUG
......
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