2.4.21-pre4 - two simple compile fixes

Oleg Drokin (green@linuxhacker.ru)
Sun, 9 Feb 2003 19:59:26 +0300


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/