mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.5.1-pre6 trivial pc110pad.c change
@ 2001-12-10 11:29 Peter T. Breuer
  0 siblings, 0 replies; only message in thread
From: Peter T. Breuer @ 2001-12-10 11:29 UTC (permalink / raw)
  To: linux kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-12-10 11:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-10 11:29 [PATCH] 2.5.1-pre6 trivial pc110pad.c change Peter T. Breuer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®