Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

shpchp: remove CONFIG_HOTPLUG_PCI_SHPC_POLL_EVENT_MODE

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>

authored by

Kenji Kaneshige and committed by
Greg Kroah-Hartman
3d9c1887 34d03419

-13
-9
drivers/pci/hotplug/Kconfig
··· 145 145 146 146 When in doubt, say N. 147 147 148 - config HOTPLUG_PCI_SHPC_POLL_EVENT_MODE 149 - bool "Use polling mechanism for hot-plug events (for testing purpose)" 150 - depends on HOTPLUG_PCI_SHPC 151 - help 152 - Say Y here if you want to use the polling mechanism for hot-plug 153 - events for early platform testing. 154 - 155 - When in doubt, say N. 156 - 157 148 config HOTPLUG_PCI_RPA 158 149 tristate "RPA PCI Hotplug driver" 159 150 depends on HOTPLUG_PCI && PPC_PSERIES && PPC64 && !HOTPLUG_PCI_FAKE
-4
drivers/pci/hotplug/shpchp_core.c
··· 401 401 { 402 402 int retval = 0; 403 403 404 - #ifdef CONFIG_HOTPLUG_PCI_SHPC_POLL_EVENT_MODE 405 - shpchp_poll_mode = 1; 406 - #endif 407 - 408 404 retval = pci_register_driver(&shpc_driver); 409 405 dbg("%s: pci_register_driver = %d\n", __FUNCTION__, retval); 410 406 info(DRIVER_DESC " version: " DRIVER_VERSION "\n");