aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnp/core.c')
-rw-r--r--drivers/pnp/core.c11
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
223subsys_initcall(pnp_init); 223subsys_initcall(pnp_init);
224
225int pnp_debug;
226
227#if defined(CONFIG_PNP_DEBUG_MESSAGES)
228static 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