aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/dm9000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c
index 2d4c4fc1d900..2bbd49653aa2 100644
--- a/drivers/net/dm9000.c
+++ b/drivers/net/dm9000.c
@@ -852,8 +852,8 @@ static void dm9000_timeout(struct net_device *dev)
852 unsigned long flags; 852 unsigned long flags;
853 853
854 /* Save previous register address */ 854 /* Save previous register address */
855 reg_save = readb(db->io_addr);
856 spin_lock_irqsave(&db->lock, flags); 855 spin_lock_irqsave(&db->lock, flags);
856 reg_save = readb(db->io_addr);
857 857
858 netif_stop_queue(dev); 858 netif_stop_queue(dev);
859 dm9000_reset(db); 859 dm9000_reset(db);