[PATCH] 2.5.1-pre6 trivial pc110pad.c change

From: Peter T. Breuer (ptb@it.uc3m.es)
Date: Mon Dec 10 2001 - 06:29:20 EST


pc110pad.c won't compile without this:

--- drivers/char/pc110pad.c.pre-ptb Mon Dec 10 12:25:57 2001
+++ drivers/char/pc110pad.c Mon Dec 10 12:26:50 2001
@@ -590,7 +590,7 @@
        spin_lock_irqsave(&pc110_lock, flags);
        if (!--active_count)
                outb(0x30, current_params.io+2); /* switch off digitiser */
- spin_unlock_irqrestore(&active_lock, flags);
+ spin_unlock_irqrestore(&pc110_lock, flags);
        return 0;
 }
 

I imagine active_lock was the wrongness, as it wasn't declared anywhere.

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:17 EST