patch-1.3.33 linux/drivers/char/serial.c
Next file: linux/drivers/char/stallion.c
Previous file: linux/drivers/char/scc.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Tue Oct 10 10:37:50 1995
- Orig file:
v1.3.32/linux/drivers/char/serial.c
- Orig date:
Mon Sep 18 14:53:53 1995
diff -u --recursive --new-file v1.3.32/linux/drivers/char/serial.c linux/drivers/char/serial.c
@@ -13,8 +13,8 @@
*
* This module exports the following rs232 io functions:
*
- * long rs_init(long);
- * int rs_open(struct tty_struct * tty, struct file * filp)
+ * int rs_init(void);
+ * int rs_open(struct tty_struct * tty, struct file * filp)
*/
#include <linux/errno.h>
@@ -2572,7 +2572,7 @@
/*
* The serial driver boot-time initialization code!
*/
-long rs_init(long kmem_start)
+int rs_init(void)
{
int i;
struct async_struct * info;
@@ -2695,7 +2695,7 @@
break;
}
}
- return kmem_start;
+ return 0;
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this