Tsi108_eth: add missing linking to driver data
authorAlex Bounine <alex.bou9@gmail.com>
Mon, 11 Feb 2008 19:33:40 +0000 (14:33 -0500)
committerJeff Garzik <jeff@garzik.org>
Mon, 11 Feb 2008 19:45:52 +0000 (14:45 -0500)
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>
drivers/net/tsi108_eth.c

index 35d15e850075f18b4aebc28cf51fcd3095eabf7d..6f222d7e9126852f66bf4ba147913741b772840a 100644 (file)
@@ -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