summaryrefslogtreecommitdiffstats
path: root/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'core.h')
-rw-r--r--core.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/core.h b/core.h
index 1cf7c95..6e3b651 100644
--- a/core.h
+++ b/core.h
@@ -12,6 +12,17 @@
#include <sound/pcm.h>
+#define DINFO(ap, fmt, args...) \
+ printk(KERN_INFO "[%s] %d:%s " fmt "\n", ap, __LINE__, __func__, ##args)
+
+#define DERROR(ap, fmt, args...) \
+ printk(KERN_ERR "[%s] %d:%s " fmt "\n", AP_LOGNAME, __LINE__, \
+ __func__, ##args)
+
+#define DPRINT(ap, fmt, args...) \
+ printk(KERN_DEBUG "[%s] %d:%s " fmt "\n", AP_LOGNAME, __LINE__, \
+ __func__, ##args)
+
/**
* PCM buffer complete callback
*