patch-2.0.21-2.1.0 linux/drivers/sound/dev_table.c

Next file: linux/drivers/sound/os.h
Previous file: linux/drivers/sound/configure.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file lx2.0/v2.0.21/linux/drivers/sound/dev_table.c linux/drivers/sound/dev_table.c
@@ -546,8 +546,10 @@
   audio_devs[num_audiodevs] = op;
   num = num_audiodevs++;
 
+#ifdef CONFIG_AUDIO
   DMAbuf_init ();
   audio_init ();
+#endif
   return num;
 }
 

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