Module: xenomai-head
Branch: master
Commit: e75f87874d126289007c4c69db4606a34ad759a7
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=e75f87874d126289007c4c69db4606a34ad759a7

Author: Alexis Berlemont <alexis.berlem...@gmail.com>
Date:   Tue Dec 29 00:14:31 2009 +0100

analogy: fix a bug in the configuration of the debug trace system

---

 include/analogy/os_facilities.h |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/include/analogy/os_facilities.h b/include/analogy/os_facilities.h
index efaacbd..91e0183 100644
--- a/include/analogy/os_facilities.h
+++ b/include/analogy/os_facilities.h
@@ -57,20 +57,22 @@
 #define __a4l_info(fmt, args...) \
        rtdm_printk(KERN_INFO A4L_PROMPT fmt, ##args)
 
-#ifdef CONFIG_XENO_DRIVERS_A4L_DEBUG
+#ifdef CONFIG_XENO_DRIVERS_ANALOGY_DEBUG
 
 #define __a4l_dbg(level, debug, fmt, args...)                  \
-       do {                                                            \
-       if ((debug) >= (level))                                         \
+       do {                                                    \
+       if ((debug) >= (level))                                 \
                rtdm_printk(KERN_DEBUG A4L_PROMPT fmt, ##args); \
        } while (0)
 
 #define core_dbg CONFIG_XENO_DRIVERS_ANALOGY_DEBUG_LEVEL
+#define drv_dbg CONFIG_XENO_DRIVERS_ANALOGY_DRIVER_DEBUG_LEVEL
 
-#else /* !CONFIG_XENO_DRIVERS_A4L_DEBUG */
+#else /* !CONFIG_XENO_DRIVERS_ANALOGY_DEBUG */
 
 #define __a4l_dbg(level, debug, fmt, args...)
-#endif /* CONFIG_XENO_DRIVERS_A4L_DEBUG */
+
+#endif /* CONFIG_XENO_DRIVERS_ANALOGY_DEBUG */
 
 #define __a4l_dev_name(dev) \
        (dev->driver == NULL) ? "unattached dev" : dev->driver->board_name


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to