summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-12-02 13:14:39 +0100
committerJeff Garzik <jeff@garzik.org>2006-12-02 13:14:39 +0100
commitaae343d493df965ac3abec1bd97cccfe44a7d920 (patch)
tree455b38cf8c8d234fd41cc0edb8d4b04b5791db2d /drivers
parent[PATCH] NetXen: driver cleanup, removed unnecessary __iomem type casts (diff)
downloadlinux-aae343d493df965ac3abec1bd97cccfe44a7d920.tar.xz
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);