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

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

diff -u --recursive --new-file v1.3.32/linux/drivers/char/cyclades.c linux/drivers/char/cyclades.c
@@ -20,8 +20,8 @@
  * This version does not support shared irq's.
  *
  * This module exports the following rs232 io functions:
- *   long cy_init(long);
- *   int  cy_open(struct tty_struct *tty, struct file *filp);
+ *   int cy_init(void);
+ *   int cy_open(struct tty_struct *tty, struct file *filp);
  *
  * $Log: cyclades.c,v $
  * Revision 1.36.3.2  1995/09/08  22:07:14  bentson
@@ -2729,8 +2729,8 @@
     If there are more cards with more ports than have been statically
     allocated above, a warning is printed and the extra ports are ignored.
  */
-long
-cy_init(long kmem_start)
+int
+cy_init(void)
 {
   struct cyclades_port	*info;
   struct cyclades_card *cinfo;
@@ -2873,7 +2873,7 @@
 		/* info->timeout */
 	    }
     }
-    return kmem_start;
+    return 0;
     
 } /* cy_init */
 

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