Răsfoiți Sursa

[PATCH] let SOUND_AD1889 depend on PCI

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.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Adrian Bunk 20 ani în urmă
părinte
comite
5b45c3bb12
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      sound/oss/Kconfig

+ 1 - 1
sound/oss/Kconfig

@@ -556,7 +556,7 @@ config SOUND_AD1816
 
 
 config SOUND_AD1889
 config SOUND_AD1889
 	tristate "AD1889 based cards (AD1819 codec) (EXPERIMENTAL)"
 	tristate "AD1889 based cards (AD1819 codec) (EXPERIMENTAL)"
-	depends on EXPERIMENTAL && SOUND_OSS
+	depends on EXPERIMENTAL && SOUND_OSS && PCI
 	help
 	help
 	  Say M here if you have a sound card based on the Analog Devices
 	  Say M here if you have a sound card based on the Analog Devices
 	  AD1889 chip.
 	  AD1889 chip.