From: Bjorn Helgaas Date: Mon, 28 Apr 2014 22:20:34 +0000 (+0200) Subject: PNP: Fix compile error in quirks.c X-Git-Tag: omap-for-v3.16/pm-signed~16^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3413afb4a8995a67f5df6218c6d0ff3a53a6978;p=pandora-kernel.git PNP: Fix compile error in quirks.c Fix the compile error: drivers/pnp/quirks.c:393:2: error: implicit declaration of function 'pcibios_bus_to_resource' that occurs when building with CONFIG_PCI unset. The quirk is only relevent to Intel devices, so we could use "#if defined(CONFIG_X86) && defined(CONFIG_PCI)" instead, but testing CONFIG_X86 is not strictly necessary. Fixes: cb171f7abb9a (PNP: Work around BIOS defects in Intel MCH area reporting) Reported-by: Randy Dunlap Signed-off-by: Bjorn Helgaas Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed