patch-2.2.0-pre4 linux/drivers/sound/soundcard.c

Next file: linux/fs/binfmt_misc.c
Previous file: linux/drivers/scsi/scsi_syms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre3/linux/drivers/sound/soundcard.c linux/drivers/sound/soundcard.c
@@ -909,8 +909,10 @@
 	{
 		return;
 	}
+#ifdef CONFIG_PROC_FS	
         if (proc_unregister(&proc_root, PROC_SOUND))
 		printk(KERN_ERR "sound: unregistering /proc/sound failed\n");
+#endif		
 	if (chrdev_registered)
 		destroy_special_devices();
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov