summaryrefslogtreecommitdiffstats
path: root/drivers/sound/sb_mixer.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sound/sb_mixer.h')
-rw-r--r--drivers/sound/sb_mixer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/sound/sb_mixer.h b/drivers/sound/sb_mixer.h
index d83c2dbad..2f68a62f3 100644
--- a/drivers/sound/sb_mixer.h
+++ b/drivers/sound/sb_mixer.h
@@ -17,6 +17,8 @@
* Added defines for the Sound Galaxy NX Pro mixer.
*
*/
+#include <linux/config.h>
+
#ifdef CONFIG_SBDSP
#define SBPRO_RECORDING_DEVICES (SOUND_MASK_LINE | SOUND_MASK_MIC | SOUND_MASK_CD)
@@ -134,7 +136,8 @@ MIX_ENT(SOUND_MIXER_LINE3, 0x00, 0, 0, 0x00, 0, 0)
};
#ifdef __SGNXPRO__
-static mixer_tab sgnxpro_mix = {
+#if 0
+static mixer_tab sgnxpro_mix = { /* not used anywhere */
MIX_ENT(SOUND_MIXER_VOLUME, 0x22, 7, 4, 0x22, 3, 4),
MIX_ENT(SOUND_MIXER_BASS, 0x46, 2, 3, 0x00, 0, 0),
MIX_ENT(SOUND_MIXER_TREBLE, 0x44, 2, 3, 0x00, 0, 0),
@@ -151,6 +154,7 @@ MIX_ENT(SOUND_MIXER_IGAIN, 0x00, 0, 0, 0x00, 0, 0),
MIX_ENT(SOUND_MIXER_OGAIN, 0x00, 0, 0, 0x00, 0, 0)
};
#endif
+#endif
static mixer_tab sb16_mix = {
MIX_ENT(SOUND_MIXER_VOLUME, 0x30, 7, 5, 0x31, 7, 5),