From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by ozlabs.org (Postfix) with ESMTP id 2807CDDECD for ; Tue, 12 Feb 2008 06:33:42 +1100 (EST) Received: by wx-out-0506.google.com with SMTP id h27so4678451wxd.15 for ; Mon, 11 Feb 2008 11:33:41 -0800 (PST) Message-ID: Date: Mon, 11 Feb 2008 14:33:40 -0500 From: "Alex Bounine" To: jgarzik@pobox.com, netdev@vger.kernel.org Subject: [PATCH 1/5 v3] Tsi108_eth: add missing linking to driver data MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Bug fix for tsi108_eth network driver. This patch adds missing linking to driver data. Signed-off-by: Alexandre Bounine --- diff -pNur linux-2.6.24/drivers/net/tsi108_eth.c linux-2.6.24-fix/drivers/net/tsi108_eth.c --- linux-2.6.24/drivers/net/tsi108_eth.c 2008-01-24 17:58:37.000000000 -0500 +++ linux-2.6.24-fix/drivers/net/tsi108_eth.c 2008-02-06 14:30:04.000000000 -0500 @@ -1629,6 +1629,7 @@ tsi108_init_one(struct platform_device * 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