2001-12-10 11:30:05

by Peter T. Breuer

[permalink] [raw]
Subject: [PATCH] 2.5.1-pre6 trivial pc110pad.c change

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