patch-1.3.33 linux/drivers/char/scc.c

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

diff -u --recursive --new-file v1.3.32/linux/drivers/char/scc.c linux/drivers/char/scc.c
@@ -158,7 +158,7 @@
 #define Z8530_MAJOR 34
 #endif
 
-long scc_init(long kmem_start);
+int scc_init(void);
 
 int scc_open(struct tty_struct *tty, struct file *filp);
 static void scc_close(struct tty_struct *tty, struct file *filp);
@@ -2298,7 +2298,7 @@
 /* * 			Init SCC driver 			      * */
 /* ******************************************************************** */
 
-long scc_init (long kmem_start)
+int scc_init (void)
 {
 	int chip, chan;
 	register io_port ctrl;
@@ -2418,6 +2418,6 @@
 #endif
 
 	
-	return kmem_start;
+	return 0;
 }
 #endif

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