shpchp: remove CONFIG_HOTPLUG_PCI_SHPC_POLL_EVENT_MODE
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tue, 9 Jan 2007 21:02:48 +0000 (13:02 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 23:50:05 +0000 (15:50 -0800)
The CONFIG_HOTPLUG_PCI_SHPC_POLL_EVENT_MODE config option is not
needed because polling mechanism for shpc hotplug events can be
enabled through module option 'shpchp_poll_mode'. This patch removes
CONFIG_HOTPLUG_PCI_SHPC_POLL_EVENT_MODE.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/Kconfig
drivers/pci/hotplug/shpchp_core.c

index adce4204d87dd7731b975504972b9c6ac8eb422c..be92695a7833e66b9ee9e870f786ede3ee4ee5fe 100644 (file)
@@ -145,15 +145,6 @@ config HOTPLUG_PCI_SHPC
 
          When in doubt, say N.
 
-config HOTPLUG_PCI_SHPC_POLL_EVENT_MODE
-       bool "Use polling mechanism for hot-plug events (for testing purpose)"
-       depends on HOTPLUG_PCI_SHPC
-       help
-         Say Y here if you want to use the polling mechanism for hot-plug 
-         events for early platform testing.
-
-         When in doubt, say N.
-
 config HOTPLUG_PCI_RPA
        tristate "RPA PCI Hotplug driver"
        depends on HOTPLUG_PCI && PPC_PSERIES && PPC64 && !HOTPLUG_PCI_FAKE
index 590cd3cbe0104fd8a3e1eba2a70f28aa8d3e9260..5f4bc08a633a59435fbb530fef4cb849badd2c48 100644 (file)
@@ -401,10 +401,6 @@ static int __init shpcd_init(void)
 {
        int retval = 0;
 
-#ifdef CONFIG_HOTPLUG_PCI_SHPC_POLL_EVENT_MODE
-       shpchp_poll_mode = 1;
-#endif
-
        retval = pci_register_driver(&shpc_driver);
        dbg("%s: pci_register_driver = %d\n", __FUNCTION__, retval);
        info(DRIVER_DESC " version: " DRIVER_VERSION "\n");