From: Frank Mori Hess Date: Thu, 5 Jul 2001 16:01:18 +0000 (+0000) Subject: changed declaration of bufinfo spinlock to static. This doesn't actually matter, X-Git-Tag: r0_7_60~95 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b81b4d02ee7b5338245d9a2e6d4b23b0c5fe9913;p=comedi.git changed declaration of bufinfo spinlock to static. This doesn't actually matter, since it is only there to prevent interrupts, but makes the code look less buggy. --- diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index bf395800..fcef9945 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -476,7 +476,7 @@ static int do_bufinfo_ioctl(comedi_device *dev,void *arg) comedi_bufinfo bi; comedi_subdevice *s; comedi_async *async; - spinlock_t bufinfo_lock = SPIN_LOCK_UNLOCKED; + static spinlock_t bufinfo_lock = SPIN_LOCK_UNLOCKED; unsigned long irq_flags; int m;