From f7837ecb478a559e02d4eb2be2b718b33adfcf5b Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 25 Jul 2002 19:36:11 +0000 Subject: [PATCH] Add comedi_debug symbol. --- comedi/comedi_fops.c | 5 +++++ comedi/comedi_ksyms.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index e7eabfb9..3f9434ba 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -53,6 +53,11 @@ MODULE_LICENSE("GPL"); #define KILL_FASYNC(a,b,c) kill_fasync(&(a),(b),(c)) #endif +#ifdef CONFIG_COMEDI_DEBUG +int comedi_debug; +MODULE_PARM(comedi_debug, "i"); +#endif + comedi_device *comedi_devices; spinlock_t big_comedi_lock = SPIN_LOCK_UNLOCKED; diff --git a/comedi/comedi_ksyms.c b/comedi/comedi_ksyms.c index 3d7ed16f..4fc5c64c 100644 --- a/comedi/comedi_ksyms.c +++ b/comedi/comedi_ksyms.c @@ -58,6 +58,9 @@ EXPORT_SYMBOL(comedi_switch_to_rt); EXPORT_SYMBOL(comedi_switch_to_non_rt); EXPORT_SYMBOL(rt_pend_call); #endif +#ifdef CONFIG_COMEDI_DEBUG +EXPORT_SYMBOL(comedi_debug); +#endif /* for kcomedilib */ EXPORT_SYMBOL(comedi_devices); -- 2.26.2