patch-2.3.17 linux/drivers/char/n_r3964.c

Next file: linux/drivers/char/serial.c
Previous file: linux/drivers/char/istallion.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.16/linux/drivers/char/n_r3964.c linux/drivers/char/n_r3964.c
@@ -52,7 +52,6 @@
 #include <linux/malloc.h>
 #include <linux/tty.h>
 #include <linux/errno.h>
-#include <linux/sched.h>    /* to get the struct task_struct */
 #include <linux/string.h>   /* used in new tty drivers */
 #include <linux/signal.h>   /* used in new tty drivers */
 #include <linux/ioctl.h>
@@ -221,7 +220,7 @@
 
 #endif /* MODULE */
 
-__initfunc(static int r3964_init(void))
+static int __init r3964_init(void)
 {
    int status;
    

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)