patch-2.1.102 linux/drivers/sound/pss.c
Next file: linux/drivers/sound/sb.h
Previous file: linux/drivers/sound/pas2_pcm.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Thu May 14 10:33:17 1998
- Orig file:
v2.1.101/linux/drivers/sound/pss.c
- Orig date:
Wed Apr 8 19:36:27 1998
diff -u --recursive --new-file v2.1.101/linux/drivers/sound/pss.c linux/drivers/sound/pss.c
@@ -32,7 +32,8 @@
#include "sound_firmware.h"
#include "soundmodule.h"
-#if (defined(CONFIG_PSS) && defined(CONFIG_AUDIO))||defined(MODULE)
+#ifdef CONFIG_PSS
+#ifdef CONFIG_AUDIO
/*
* PSS registers.
@@ -80,11 +81,12 @@
#include "coproc.h"
-#ifdef CONFIG_PSS_HAVE_BOOT
+#ifdef PSS_HAVE_LD
#include "pss_boot.h"
#else
-static unsigned char *pss_synth = NULL;
static int pss_synthLen = 0;
+static unsigned char *pss_synth =
+NULL;
#endif
unsigned char pss_mixer = 1;
@@ -1120,5 +1122,6 @@
unload_pss(&cfgpss);
SOUND_LOCK_END;
}
+#endif
#endif
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov