[2.6 patch] let SOUND_AD1889 depend on PCI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

---

This patch was already sent on:
- 1 Apr 2005

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux