From: Takashi Iwai <tiwai@suse.de>
Date: Mon, 22 May 2006 12:31:57 +0000 (+0200)
Subject: [ALSA] hdsp - Fix compilation with hdsp driver built in kernel
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=140432fd2fbe68d59fe6fcddbcd4bcd0f84e951a;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git

[ALSA] hdsp - Fix compilation with hdsp driver built in kernel

Fixed the compilation with hdsp driver built in kernel.
The traditional hwdep loader is used in this case.

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

diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c
index da63a1a1995..bf89ab9e313 100644
--- a/sound/pci/rme9652/hdsp.c
+++ b/sound/pci/rme9652/hdsp.c
@@ -389,7 +389,7 @@ MODULE_SUPPORTED_DEVICE("{{RME Hammerfall-DSP},"
 
 /* use hotplug firmeare loader? */
 #if defined(CONFIG_FW_LOADER) || defined(CONFIG_FW_LOADER_MODULE)
-#ifndef HDSP_USE_HWDEP_LOADER
+#if !defined(HDSP_USE_HWDEP_LOADER) && !defined(CONFIG_SND_HDSP)
 #define HDSP_FW_LOADER
 #endif
 #endif