]> err.no Git - linux-2.6/commitdiff
[netdrvr] skge: build fix
authorJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 12:14:39 +0000 (07:14 -0500)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 12:14:39 +0000 (07:14 -0500)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/skge.c

index 010fc6541122927d8a3cae9bac69f98e3166062f..27b537c8d5e32dde27a326ab7b02d88e4a9e1620 100644 (file)
@@ -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);