aboutsummaryrefslogtreecommitdiffstats
path: root/sound/isa/sb/sb16_csp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/isa/sb/sb16_csp.c')
-rw-r--r--sound/isa/sb/sb16_csp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/isa/sb/sb16_csp.c b/sound/isa/sb/sb16_csp.c
index 3d9d7e0107ca..ef71e50744e9 100644
--- a/sound/isa/sb/sb16_csp.c
+++ b/sound/isa/sb/sb16_csp.c
@@ -690,9 +690,7 @@ static int snd_sb_csp_load_user(struct snd_sb_csp * p, const unsigned char __use
690 return err; 690 return err;
691} 691}
692 692
693#define FIRMWARE_IN_THE_KERNEL 693#ifdef CONFIG_SND_SB16_CSP_FIRMWARE_IN_KERNEL
694
695#ifdef FIRMWARE_IN_THE_KERNEL
696#include "sb16_csp_codecs.h" 694#include "sb16_csp_codecs.h"
697 695
698static const struct firmware snd_sb_csp_static_programs[] = { 696static const struct firmware snd_sb_csp_static_programs[] = {
@@ -724,7 +722,7 @@ static int snd_sb_csp_firmware_load(struct snd_sb_csp *p, int index, int flags)
724 if (err >= 0) 722 if (err >= 0)
725 p->csp_programs[index] = program; 723 p->csp_programs[index] = program;
726 else { 724 else {
727#ifdef FIRMWARE_IN_THE_KERNEL 725#ifdef CONFIG_SND_SB16_CSP_FIRMWARE_IN_KERNEL
728 program = &snd_sb_csp_static_programs[index]; 726 program = &snd_sb_csp_static_programs[index];
729#else 727#else
730 return err; 728 return err;