summaryrefslogtreecommitdiff
path: root/drivers/pnp/core.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-11-22 11:32:35 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2010-11-22 11:32:35 +1100
commit931151f95b37d4ca963382ad650b40794dac9d9b (patch)
treefff2919aae0f286c616345db0e0e00a506c542b6 /drivers/pnp/core.c
parentf2edec853404ae232656ce1a9b59cd6be1f3b832 (diff)
parent397e68b13c97cc0e0311afd3d66aabb472e1d210 (diff)
Merge remote branch 'acpi/test'
Diffstat (limited to 'drivers/pnp/core.c')
-rw-r--r--drivers/pnp/core.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/pnp/core.c b/drivers/pnp/core.c
index 0f34d962fd3c..cb6ce42f8e77 100644
--- a/drivers/pnp/core.c
+++ b/drivers/pnp/core.c
@@ -220,10 +220,5 @@ subsys_initcall(pnp_init);
int pnp_debug;
#if defined(CONFIG_PNP_DEBUG_MESSAGES)
-static int __init pnp_debug_setup(char *__unused)
-{
- pnp_debug = 1;
- return 1;
-}
-__setup("pnp.debug", pnp_debug_setup);
+module_param_named(debug, pnp_debug, int, 0644);
#endif