ChangeSet 1.1587.12.68, 2004/04/30 15:04:50-07:00, eike-hotplug@sf-tec.de [PATCH] SHPC PCI Hotplug: use new style of module parameters Convert shpchp_core.c to use new style of module handling. Eike drivers/pci/hotplug/shpchp_core.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff -Nru a/drivers/pci/hotplug/shpchp_core.c b/drivers/pci/hotplug/shpchp_core.c --- a/drivers/pci/hotplug/shpchp_core.c Mon May 17 16:58:55 2004 +++ b/drivers/pci/hotplug/shpchp_core.c Mon May 17 16:58:55 2004 @@ -29,6 +29,7 @@ #include #include +#include #include #include #include @@ -56,9 +57,9 @@ MODULE_DESCRIPTION(DRIVER_DESC); MODULE_LICENSE("GPL"); -MODULE_PARM(shpchp_debug, "i"); -MODULE_PARM(shpchp_poll_mode, "i"); -MODULE_PARM(shpchp_poll_time, "i"); +module_param(shpchp_debug, bool, 644); +module_param(shpchp_poll_mode, bool, 644); +module_param(shpchp_poll_time, int, 644); MODULE_PARM_DESC(shpchp_debug, "Debugging mode enabled or not"); MODULE_PARM_DESC(shpchp_poll_mode, "Using polling mechanism for hot-plug events or not"); MODULE_PARM_DESC(shpchp_poll_time, "Polling mechanism frequency, in seconds");