From: Takashi Iwai <tiwai@suse.de>
Date: Wed, 20 May 2009 14:47:59 +0000 (+0200)
Subject: ALSA: ctxfi - Add depends on X86
X-Git-Tag: firefly_0821_release~13628^2~4^2~27
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3e3ee6dc949d25423f72bb5ee5f58dfa79ac85c7;p=firefly-linux-kernel-4.4.55.git

ALSA: ctxfi - Add depends on X86

The ctxfi driver requires explicitly the 4k page size, and gives a
build error on architectures with non-4k pages.
As a workaround, just add the kconfig dependency on X86, which is
the only architecture ever tested.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
---

diff --git a/sound/pci/Kconfig b/sound/pci/Kconfig
index 3a7640feaf92..2d7fef5df017 100644
--- a/sound/pci/Kconfig
+++ b/sound/pci/Kconfig
@@ -277,6 +277,7 @@ config SND_CS5535AUDIO
 
 config SND_CTXFI
 	tristate "Creative Sound Blaster X-Fi"
+	depends on X86
 	select SND_PCM
 	help
 	  If you want to use soundcards based on Creative Sound Blastr X-Fi