Skip to contentSkip to conversation

let SOUND_AD1889 depend on PCI

PATCH In review [email protected] 1 participant 1 message Apr 12, 2005 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 148/198 let SOUND_AD1889 depend on PCI

From: Adrian Bunk <[email protected]>

Compiling SOUND_AD1889 with PCI=n results in the following compile error:

sound/built-in.o(.text+0x24f0c): In function `ad1889_remove':
: undefined reference to `pci_release_region'

This patch adds the missing dependency on PCI.

---

 25-akpm/sound/oss/Kconfig |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
sound/oss/Kconfig renamed from sound/oss/Kconfig~let-sound_ad1889-depend-on-pci +1 -1
diff -puN sound/oss/Kconfig~let-sound_ad1889-depend-on-pci sound/oss/Kconfig
@@ -556,7 +556,7 @@ config SOUND_AD1816
 
 config SOUND_AD1889
 	tristate "AD1889 based cards (AD1819 codec) (EXPERIMENTAL)"
-	depends on EXPERIMENTAL && SOUND_OSS
+	depends on EXPERIMENTAL && SOUND_OSS && PCI
 	help
 	  Say M here if you have a sound card based on the Analog Devices
 	  AD1889 chip.

_