diff options
Diffstat (limited to 'drivers/pnp/core.c')
-rw-r--r-- | drivers/pnp/core.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/pnp/core.c b/drivers/pnp/core.c index 7cb1ffc14d4e..61291b5bfe12 100644 --- a/drivers/pnp/core.c +++ b/drivers/pnp/core.c | |||
@@ -221,3 +221,14 @@ static int __init pnp_init(void) | |||
221 | } | 221 | } |
222 | 222 | ||
223 | subsys_initcall(pnp_init); | 223 | subsys_initcall(pnp_init); |
224 | |||
225 | int pnp_debug; | ||
226 | |||
227 | #if defined(CONFIG_PNP_DEBUG_MESSAGES) | ||
228 | static int __init pnp_debug_setup(char *__unused) | ||
229 | { | ||
230 | pnp_debug = 1; | ||
231 | return 1; | ||
232 | } | ||
233 | __setup("pnp.debug", pnp_debug_setup); | ||
234 | #endif | ||