]> git.hungrycats.org Git - linux/commitdiff
IBM PCI Hotplug driver
authorGreg Kroah-Hartman <greg@kroah.com>
Wed, 10 Apr 2002 03:57:36 +0000 (20:57 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 10 Apr 2002 03:57:36 +0000 (20:57 -0700)
Only build the IBM PCI hotplug driver if CONFIG_X86_IO_APIC is selected

drivers/hotplug/Config.in

index 7dda8c299aaa88418942bab393b937fb8f2dd211..ab6414689a14fe6252cd37ce5e2a92161906f5fe 100644 (file)
@@ -8,6 +8,8 @@ dep_tristate 'Support for PCI Hotplug (EXPERIMENTAL)' CONFIG_HOTPLUG_PCI $CONFIG
 
 dep_tristate '  Compaq PCI Hotplug driver' CONFIG_HOTPLUG_PCI_COMPAQ $CONFIG_HOTPLUG_PCI $CONFIG_X86
 dep_mbool '    Save configuration into NVRAM on Compaq servers' CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM $CONFIG_HOTPLUG_PCI_COMPAQ
-dep_tristate '  IBM PCI Hotplug driver' CONFIG_HOTPLUG_PCI_IBM $CONFIG_HOTPLUG_PCI $CONFIG_X86_IO_APIC $CONFIG_X86
+if [ "$CONFIG_X86_IO_APIC" = "y" ]; then
+   dep_tristate '  IBM PCI Hotplug driver' CONFIG_HOTPLUG_PCI_IBM $CONFIG_HOTPLUG_PCI $CONFIG_X86_IO_APIC $CONFIG_X86
+fi
 
 endmenu