Skip to contentSkip to conversation

let SOUND_AD1889 depend on PCI

PATCH New Adrian Bunk 1 participant 1 message Apr 9, 2005 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 let SOUND_AD1889 depend on PCI

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

<-- snip -->

...
LD .tmp_vmlinux1
sound/built-in.o(.text+0x24f0c): In function `ad1889_remove':
: undefined reference to `pci_release_region'
make: *** [.tmp_vmlinux1] Error 1

<-- snip -->

This patch adds the missing dependency on PCI.

---

This patch was already sent on:
- 1 Apr 2005

sound/oss/Kconfig renamed from sound/oss/Kconfig.old +1 -1
@@ -556,7 +556,7 @@
 
 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.