On Mon, Apr 28, 2014 at 10:45:37AM -0700, Randy Dunlap wrote:
On 04/27/14 23:57, Stephen Rothwell wrote:Thanks Randy. This is a config that doesn't define CONFIG_PCI. Rafael,
Hi all,on i386:
This tree still fails (more than usual) the powerpc allyesconfig build.
Changes since 20140424:
CC drivers/pnp/quirks.o
drivers/pnp/quirks.c: In function 'quirk_intel_mch':
drivers/pnp/quirks.c:393:2: error: implicit declaration of function 'pcibios_bus_to_resource' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [drivers/pnp/quirks.o] Error 1
here's an incremental fix, or the full updated patch is below.
diff -u b/drivers/pnp/quirks.c b/drivers/pnp/quirks.c
--- b/drivers/pnp/quirks.c
+++ b/drivers/pnp/quirks.c
@@ -335,7 +335,7 @@
}
#endif
-#ifdef CONFIG_X86
+#if defined(CONFIG_X86) && defined(CONFIG_PCI)
/* Device IDs of parts that have 32KB MCH space */
static const unsigned int mch_quirk_devices[] = {
0x0154, /* Ivy Bridge */
@@ -440,7 +440,7 @@
#ifdef CONFIG_AMD_NB
{"PNP0c01", quirk_amd_mmconfig_area},
#endif
-#ifdef CONFIG_X86
+#if defined(CONFIG_X86) && defined(CONFIG_PCI)
{"PNP0c02", quirk_intel_mch},
#endif
{""}