aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp
diff options
context:
space:
mode:
authorThomas Renninger <trenn@suse.de>2010-10-25 15:11:16 -0400
committerLen Brown <len.brown@intel.com>2010-10-27 02:23:59 -0400
commitcdefba03e44bd3b3311a3849a81ec7030dfa1519 (patch)
tree5c6f85b44a92f821edb4d969667da83255294648 /drivers/pnp
parent803711afdbea5c6a6dd2b46eca76097f6d50fb53 (diff)
PNP: Set up pnp_debug via module and not via boot param.
Cleanup only, no functional change (pnp.debug can be enabled and disabled at runtime, but that's not a real enhancement). This one depends on another PNP cleanup patch: PNP: Compile all pnp built-in stuff in one module namespace Signed-off-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pnp')
-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 88b3cde52596..9801918b2726 100644
--- a/drivers/pnp/core.c
+++ b/drivers/pnp/core.c
@@ -218,10 +218,5 @@ subsys_initcall(pnp_init);
218int pnp_debug; 218int pnp_debug;
219 219
220#if defined(CONFIG_PNP_DEBUG_MESSAGES) 220#if defined(CONFIG_PNP_DEBUG_MESSAGES)
221static int __init pnp_debug_setup(char *__unused) 221module_param_named(debug, pnp_debug, int, 0644);
222{
223 pnp_debug = 1;
224 return 1;
225}
226__setup("pnp.debug", pnp_debug_setup);
227#endif 222#endif