Skip to contentSkip to conversation

ALSA: core: allow SND_DMAENGINE_PCM use from modules

PATCH Applied Daniel Mack 2 participants 2 messages Aug 15, 2013 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: core: allow SND_DMAENGINE_PCM use from modules

When users of SND_DMAENGINE_PCM are built as module, the config symbol SND_DMAENGINE_PCM must be tristate, otherwise the linker will fail.

---
 sound/core/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/core/Kconfig +1 -1
index 94ce1c4..313f22e 100644
@@ -7,7 +7,7 @@ config SND_PCM
 	select SND_TIMER
 
 config SND_DMAENGINE_PCM
-	bool
+	tristate
 
 config SND_HWDEP
 	tristate
Signature · 1 line
1.8.3.1
Applied
#1 lore raw
Quoted 2 lines · Daniel Mack

When users of SND_DMAENGINE_PCM are built as module, the config symbol SND_DMAENGINE_PCM must be tristate, otherwise the linker will fail.

Applied, thanks.