patch-2.3.30 linux/drivers/sound/es1371.c

Next file: linux/drivers/sound/sb_card.c
Previous file: linux/drivers/sound/cmpci.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.29/linux/drivers/sound/es1371.c linux/drivers/sound/es1371.c
@@ -3101,9 +3101,7 @@
 		goto err_dev4;
 #ifdef ES1371_DEBUG
 	/* intialize the debug proc device */
-	s->ps = create_proc_entry("es1371", S_IFREG | S_IRUGO, NULL);
-	if (s->ps)
-		s->ps->read_proc = proc_es1371_dump;
+	s->ps = create_proc_read_entry("es1371",0,NULL,proc_es1371_dump,NULL);
 #endif /* ES1371_DEBUG */
 	
 	/* initialize codec registers */

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