]> git.kernelconcepts.de Git - mv-sheeva.git/commitdiff
X86/PCI: Remove the dependency on isapnp_disable.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 21 Oct 2010 13:36:07 +0000 (09:36 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 21 Oct 2010 13:36:07 +0000 (09:36 -0400)
This looks to be vestigial dependency that had never been used even
in the original code base (2.6.18) from which this driver
was up-ported. Without this fix, with the CONFIG_ISAPNP, we get this
compile failure:

arch/x86/pci/xen.c: In function 'pci_xen_init':
arch/x86/pci/xen.c:138: error: 'isapnp_disable' undeclared (first use in this function)
arch/x86/pci/xen.c:138: error: (Each undeclared identifier is reported only once
arch/x86/pci/xen.c:138: error: for each function it appears in.)

Reported-by: Li Zefan <lizf@cn.fujitsu.com>
Tested-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/pci/xen.c

index b19c873d8d0c16f873dd6043003d823ee94dc376..4e371065ce418aeca67b4d44599c75e2764cefef 100644 (file)
@@ -133,11 +133,6 @@ int __init pci_xen_init(void)
        acpi_noirq = 1;
 #endif
 
-#ifdef CONFIG_ISAPNP
-       /* Stop isapnp from probing */
-       isapnp_disable = 1;
-#endif
-
 #ifdef CONFIG_PCI_MSI
        x86_msi.setup_msi_irqs = xen_setup_msi_irqs;
        x86_msi.teardown_msi_irq = xen_teardown_msi_irq;