summaryrefslogtreecommitdiff
path: root/drivers/misc/mdbg/mdbg.h
diff options
context:
space:
mode:
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