patch-2.4.0-test3 linux/drivers/sbus/audio/audio.c

Next file: linux/drivers/sbus/char/bpp.c
Previous file: linux/drivers/pnp/isapnp_proc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/drivers/sbus/audio/audio.c linux/drivers/sbus/audio/audio.c
@@ -1,4 +1,4 @@
-/* $Id: audio.c,v 1.52 2000/06/22 11:42:27 davem Exp $
+/* $Id: audio.c,v 1.53 2000/07/06 01:41:34 davem Exp $
  * drivers/sbus/audio/audio.c
  *
  * Copyright 1996 Thomas K. Dyas (tdyas@noc.rutgers.edu)
@@ -2175,7 +2175,7 @@
 	/* Unregister ourselves with devfs */
 	for (i=0; i < sizeof (dev_list) / sizeof (*dev_list); i++) {
 		sparcaudio_mkname (name_buf, dev_list[i].name, drv->index);
-		de = devfs_find_handle (devfs_handle, name_buf, 0, 0, 0,
+		de = devfs_find_handle (devfs_handle, name_buf, 0, 0,
 					DEVFS_SPECIAL_CHR, 0);
 		devfs_unregister (de);
 	}
@@ -2219,7 +2219,7 @@
 	if (devfs_register_chrdev(SOUND_MAJOR, "sparcaudio", &sparcaudio_fops))
 		return -EIO;
 
-	devfs_handle = devfs_mk_dir (NULL, "sound", 0, NULL);
+	devfs_handle = devfs_mk_dir (NULL, "sound", NULL);
 	
 #ifdef CONFIG_SPARCAUDIO_AMD7930
 	amd7930_init();

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