diff options
-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 88b3cde5259..9801918b272 100644 --- a/drivers/pnp/core.c +++ b/drivers/pnp/core.c | |||
@@ -218,10 +218,5 @@ subsys_initcall(pnp_init); | |||
218 | int pnp_debug; | 218 | int pnp_debug; |
219 | 219 | ||
220 | #if defined(CONFIG_PNP_DEBUG_MESSAGES) | 220 | #if defined(CONFIG_PNP_DEBUG_MESSAGES) |
221 | static int __init pnp_debug_setup(char *__unused) | 221 | module_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 |