2.4.21-pre4 - two simple compile fixes

From: Oleg Drokin (green@linuxhacker.ru)
Date: Sun Feb 09 2003 - 11:59:26 EST


Hello!

  With this trivial patch below I am able to compile with support
  for come Cadet radio card and NatSemi SCx200

Bye,
    Oleg

===== drivers/char/Makefile 1.30 vs edited =====
--- 1.30/drivers/char/Makefile Tue Jan 7 18:03:18 2003
+++ edited/drivers/char/Makefile Sun Feb 9 17:48:17 2003
@@ -24,7 +24,7 @@
 export-objs := busmouse.o console.o keyboard.o sysrq.o \
                         misc.o pty.o random.o selection.o serial.o \
                         sonypi.o tty_io.o tty_ioctl.o generic_serial.o \
- au1000_gpio.o hp_psaux.o nvram.o
+ au1000_gpio.o hp_psaux.o nvram.o scx200.o
 
 mod-subdirs := joystick ftape drm drm-4.0 pcmcia
 
===== drivers/media/radio/radio-cadet.c 1.5 vs edited =====
--- 1.5/drivers/media/radio/radio-cadet.c Fri Jan 31 15:03:08 2003
+++ edited/drivers/media/radio/radio-cadet.c Sun Feb 9 17:59:13 2003
@@ -558,7 +558,7 @@
 static int __init cadet_init(void)
 {
 
- spin_lock_init(&cadet_lock);
+ spin_lock_init(&cadet_io_lock);
         
         /*
          * If a probe was requested then probe ISAPnP first (safest)
-
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 Feb 15 2003 - 22:00:23 EST