summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/core.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2011-01-12 04:59:44 -0500
committerLen Brown <len.brown@intel.com>2011-01-12 04:59:44 -0500
commit6d1f23f204c9e4638bd30ff3a768c47e40cd3ac0 (patch)
tree5b0ddc0eb897435f9fade4c4b5927f777ca23707 /drivers/pnp/core.c
parent633379a0f9f16362835d7a3fde141d3a95fd6c97 (diff)
parentcdefba03e44bd3b3311a3849a81ec7030dfa1519 (diff)
downloadlinux-6d1f23f204c9e4638bd30ff3a768c47e40cd3ac0.tar.bz2
Merge branch 'pnp' into release
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