diff options
Diffstat (limited to 'drivers/pnp/core.c')
-rw-r--r-- | drivers/pnp/core.c | 7 |
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); | |||
220 | int pnp_debug; | 220 | int pnp_debug; |
221 | 221 | ||
222 | #if defined(CONFIG_PNP_DEBUG_MESSAGES) | 222 | #if defined(CONFIG_PNP_DEBUG_MESSAGES) |
223 | static int __init pnp_debug_setup(char *__unused) | 223 | module_param_named(debug, pnp_debug, int, 0644); |
224 | { | ||
225 | pnp_debug = 1; | ||
226 | return 1; | ||
227 | } | ||
228 | __setup("pnp.debug", pnp_debug_setup); | ||
229 | #endif | 224 | #endif |