[patch] 2.3.20-pre2 compile fixes

Jeff Garzik (jgarzik@pobox.com)
Fri, 08 Oct 1999 03:08:03 -0400


This is a multi-part message in MIME format.
--------------18571CBBDF87889A67F9DCF5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Linus,

Attached are a few one-line compile fixes for pre2. Changelog:

char/pms.c: needs init.h for module_init() etc.
scsi/sg.c: correct kill_fasync call
usb/mouse.c: likewise
usb/serial.c: correct tty driver var name

Regards,

Jeff

-- 
Custom driver development	|    Never worry about theory as long
Open source programming		|    as the machinery does what it's
				|    supposed to do.  -- R. A. Heinlein
--------------18571CBBDF87889A67F9DCF5
Content-Type: text/plain; charset=us-ascii;
 name="patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch"

Index: drivers/char/pms.c =================================================================== RCS file: /g/cvslan/linux_2_3/drivers/char/pms.c,v retrieving revision 1.1.1.4 retrieving revision 1.1.1.4.4.1 diff -u -r1.1.1.4 -r1.1.1.4.4.1 --- drivers/char/pms.c 1999/10/07 22:44:37 1.1.1.4 +++ drivers/char/pms.c 1999/10/08 07:02:08 1.1.1.4.4.1 @@ -22,6 +22,7 @@ #include <linux/malloc.h> #include <linux/mm.h> #include <linux/ioport.h> +#include <linux/init.h> #include <asm/io.h> #include <linux/sched.h> #include <linux/videodev.h> Index: drivers/scsi/sg.c =================================================================== RCS file: /g/cvslan/linux_2_3/drivers/scsi/sg.c,v retrieving revision 1.1.1.4 retrieving revision 1.1.1.4.4.1 diff -u -r1.1.1.4 -r1.1.1.4.4.1 --- drivers/scsi/sg.c 1999/10/07 22:44:45 1.1.1.4 +++ drivers/scsi/sg.c 1999/10/08 07:02:08 1.1.1.4.4.1 @@ -815,7 +815,7 @@ /* Now wake up any sg_read() that is waiting for this packet. */ wake_up_interruptible(&sfp->read_wait); if ((sfp->async_qp) && (! closed)) - kill_fasync(sfp->async_qp, SIGPOLL, POLL_IN); + kill_fasync(sfp->async_qp, SIGPOLL); } static void sg_debug_all(const Sg_fd * sfp) Index: drivers/usb/mouse.c =================================================================== RCS file: /g/cvslan/linux_2_3/drivers/usb/mouse.c,v retrieving revision 1.1.1.4 retrieving revision 1.1.1.4.4.1 diff -u -r1.1.1.4 -r1.1.1.4.4.1 --- drivers/usb/mouse.c 1999/10/07 22:45:11 1.1.1.4 +++ drivers/usb/mouse.c 1999/10/08 07:02:09 1.1.1.4.4.1 @@ -120,7 +120,7 @@ wake_up_interruptible(&mouse->wait); if (mouse->fasync) - kill_fasync(mouse->fasync, SIGIO, POLL_IN); + kill_fasync(mouse->fasync, SIGIO); return 1; } Index: drivers/usb/serial.c =================================================================== RCS file: /g/cvslan/linux_2_3/drivers/usb/serial.c,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.1.4.1 diff -u -r1.1.1.1 -r1.1.1.1.4.1 --- drivers/usb/serial.c 1999/10/07 22:45:12 1.1.1.1 +++ drivers/usb/serial.c 1999/10/08 07:02:09 1.1.1.1.4.1 @@ -683,7 +683,7 @@ void cleanup_module(void) { - tty_unregister_driver(&acm_tty_driver); + tty_unregister_driver(&serial_tty_driver); usb_deregister(&usb_serial_driver); }

--------------18571CBBDF87889A67F9DCF5--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/