patch-2.4.0-test3 linux/drivers/char/stallion.c
Next file: linux/drivers/char/stradis.c
Previous file: linux/drivers/char/specialix.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Jun 29 18:25:50 2000
- Orig file:
v2.4.0-test2/linux/drivers/char/stallion.c
- Orig date:
Fri Jun 23 21:55:08 2000
diff -u --recursive --new-file v2.4.0-test2/linux/drivers/char/stallion.c linux/drivers/char/stallion.c
@@ -780,7 +780,7 @@
stlpanel_t *panelp;
stlport_t *portp;
unsigned long flags;
- int i, j, k, l;
+ int i, j, k;
#if DEBUG
printk("cleanup_module()\n");
@@ -3191,7 +3191,7 @@
*/
if (devfs_register_chrdev(STL_SIOMEMMAJOR, "staliomem", &stl_fsiomem))
printk("STALLION: failed to register serial board device\n");
- devfs_handle = devfs_mk_dir (NULL, "staliomem", 9, NULL);
+ devfs_handle = devfs_mk_dir (NULL, "staliomem", NULL);
devfs_register_series (devfs_handle, "%u", 4, DEVFS_FL_DEFAULT,
STL_SIOMEMMAJOR, 0,
S_IFCHR | S_IRUSR | S_IWUSR,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)