Skip to content

Commit

Permalink
Tsi108_eth: add missing linking to driver data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alex Bounine authored and Jeff Garzik committed Feb 11, 2008
1 parent 651be3a commit a235ef2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/tsi108_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a235ef2

Please sign in to comment.