summaryrefslogtreecommitdiff
path: root/drivers/misc/mdbg/mdbg.h
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
committerYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
commit8e4bff4cab0ddac6060645b0715210484d02ff40 (patch)
tree3a5c3024371a04692a3a6d9974d001cdff8ebf84 /drivers/misc/mdbg/mdbg.h
Initial file dump from open source releaseHEADmaster
Diffstat (limited to 'drivers/misc/mdbg/mdbg.h')
-rw-r--r--drivers/misc/mdbg/mdbg.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/misc/mdbg/mdbg.h b/drivers/misc/mdbg/mdbg.h
new file mode 100644
index 00000000..1293c5b5
--- /dev/null
+++ b/drivers/misc/mdbg/mdbg.h
@@ -0,0 +1,24 @@
+/************************************************************************************************************ */
+/*****Copyright: 2014 Spreatrum. All Right Reserved */
+/*****File: mdbg.h */
+/*****Description: Marlin Debug System main file. Module,device & driver related defination. */
+/*****Developer: fan.kou@spreadtrum.com */
+/*****Date: 06/01/2014 */
+/************************************************************************************************************ */
+
+#ifndef _MARLIN_DEBUG_H
+#define _MARLIN_DEBUG_H
+
+
+#include "mdbg_type.h"
+
+struct mdbg_devvice_t{
+ int open_count;
+ struct mutex mdbg_lock;
+ char *read_buf;
+ char *write_buf;
+ wait_queue_head_t rxwait;
+};
+
+
+#endif