Commit 4fd3215e authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Deepak Saxena

[PATCH] RPA PCI Hotplug: use new style of module parameters

The debug parameter of rpaphp is only used as a boolean so we can scan the
commandline of it like a boolean parameter.
parent 6753894e
...@@ -54,7 +54,7 @@ MODULE_AUTHOR(DRIVER_AUTHOR); ...@@ -54,7 +54,7 @@ MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC); MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
module_param(debug, int, 0644); module_param(debug, bool, 0644);
static int enable_slot(struct hotplug_slot *slot); static int enable_slot(struct hotplug_slot *slot);
static int disable_slot(struct hotplug_slot *slot); static int disable_slot(struct hotplug_slot *slot);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment