summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-12-02 07:14:39 -0500
committerJeff Garzik <jeff@garzik.org>2006-12-02 07:14:39 -0500
commitaae343d493df965ac3abec1bd97cccfe44a7d920 (patch)
tree455b38cf8c8d234fd41cc0edb8d4b04b5791db2d /drivers
parent71bd7877d470b4037c9ef0d060ac39228f0f6289 (diff)
downloadlinux-aae343d493df965ac3abec1bd97cccfe44a7d920.tar.gz
linux-aae343d493df965ac3abec1bd97cccfe44a7d920.tar.bz2
linux-aae343d493df965ac3abec1bd97cccfe44a7d920.zip
[netdrvr] skge: build fix
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/skge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c
index 010fc6541122..27b537c8d5e3 100644
--- a/drivers/net/skge.c
+++ b/drivers/net/skge.c
@@ -2252,6 +2252,7 @@ static void skge_phy_reset(struct skge_port *skge)
{
struct skge_hw *hw = skge->hw;
int port = skge->port;
+ struct net_device *dev = hw->dev[port];
netif_stop_queue(skge->netdev);
netif_carrier_off(skge->netdev);