[2.6 patch] let SOUND_AD1889 depend on PCI

From: Adrian Bunk
Date: Thu Mar 31 2005 - 17:29:09 EST


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.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.12-rc1-mm4-full/sound/oss/Kconfig.old 2005-04-01 00:23:11.000000000 +0200
+++ linux-2.6.12-rc1-mm4-full/sound/oss/Kconfig 2005-04-01 00:23:39.000000000 +0200
@@ -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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/