aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/acpiphp_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug/acpiphp_core.c')
-rw-r--r--drivers/pci/hotplug/acpiphp_core.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/pci/hotplug/acpiphp_core.c b/drivers/pci/hotplug/acpiphp_core.c
index aa41631e9e0..96316b74969 100644
--- a/drivers/pci/hotplug/acpiphp_core.c
+++ b/drivers/pci/hotplug/acpiphp_core.c
@@ -47,8 +47,7 @@
47/* name size which is used for entries in pcihpfs */ 47/* name size which is used for entries in pcihpfs */
48#define SLOT_NAME_SIZE 21 /* {_SUN} */ 48#define SLOT_NAME_SIZE 21 /* {_SUN} */
49 49
50static bool debug; 50bool acpiphp_debug;
51int acpiphp_debug;
52 51
53/* local variables */ 52/* local variables */
54static int num_slots; 53static int num_slots;
@@ -62,7 +61,7 @@ MODULE_AUTHOR(DRIVER_AUTHOR);
62MODULE_DESCRIPTION(DRIVER_DESC); 61MODULE_DESCRIPTION(DRIVER_DESC);
63MODULE_LICENSE("GPL"); 62MODULE_LICENSE("GPL");
64MODULE_PARM_DESC(debug, "Debugging mode enabled or not"); 63MODULE_PARM_DESC(debug, "Debugging mode enabled or not");
65module_param(debug, bool, 0644); 64module_param_named(debug, acpiphp_debug, bool, 0644);
66 65
67/* export the attention callback registration methods */ 66/* export the attention callback registration methods */
68EXPORT_SYMBOL_GPL(acpiphp_register_attention); 67EXPORT_SYMBOL_GPL(acpiphp_register_attention);
@@ -379,8 +378,6 @@ static int __init acpiphp_init(void)
379 if (acpi_pci_disabled) 378 if (acpi_pci_disabled)
380 return 0; 379 return 0;
381 380
382 acpiphp_debug = debug;
383
384 /* read all the ACPI info from the system */ 381 /* read all the ACPI info from the system */
385 return init_acpi(); 382 return init_acpi();
386} 383}