lkml.org 
[lkml]   [2005]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[-mm patch] EDAC drivers: missing PCI dependencies
This patch fixes the following compile errors with CONFIG_PCI=n:

<-- snip -->

...
LD .tmp_vmlinux1
drivers/built-in.o: In function `amd76x_probe1':
amd76x_edac.c:(.text+0x56dc56): undefined reference to `pci_dev_get'
drivers/built-in.o: In function `e752x_probe1':
e752x_edac.c:(.text+0x56f152): undefined reference to `pci_scan_single_device'
e752x_edac.c:(.text+0x56f330): undefined reference to `pci_dev_get'
drivers/built-in.o: In function `i82875p_probe1':
i82875p_edac.c:(.text+0x56f6b4): undefined reference to `pci_scan_single_device'
i82875p_edac.c:(.text+0x56f6dd): undefined reference to `pci_release_regions'
i82875p_edac.c:(.text+0x56f6ef): undefined reference to `pci_proc_attach_device'
make: *** [.tmp_vmlinux1] Error 1

<-- snip -->


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.14-rc5-mm1/drivers/edac/Kconfig.old 2005-10-29 22:42:51.000000000 +0200
+++ linux-2.6.14-rc5-mm1/drivers/edac/Kconfig 2005-10-29 22:44:22.000000000 +0200
@@ -43,7 +43,7 @@

config EDAC_AMD76X
tristate "AMD 76x (760, 762, 768)"
- depends on EDAC
+ depends on EDAC && PCI

config EDAC_E7XXX
tristate "Intel e7xxx (e7205, e7500, e7501, e7505)"
@@ -51,11 +51,11 @@

config EDAC_E752X
tristate "Intel e752x (e7520, e7525, e7320)"
- depends on EDAC
+ depends on EDAC && PCI

config EDAC_I82875P
tristate "Intel 82875p (D82875P, E7210)"
- depends on EDAC
+ depends on EDAC && PCI

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

\
 
 \ /
  Last update: 2005-10-29 22:50    [W:0.245 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site