diff options
| author | Yuval Adam <_@yuv.al> | 2017-08-30 08:25:59 +0000 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2017-08-30 08:25:59 +0000 |
| commit | 8e4bff4cab0ddac6060645b0715210484d02ff40 (patch) | |
| tree | 3a5c3024371a04692a3a6d9974d001cdff8ebf84 /drivers/misc/mdbg/mdbg.h | |
Diffstat (limited to 'drivers/misc/mdbg/mdbg.h')
| -rw-r--r-- | drivers/misc/mdbg/mdbg.h | 24 |
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 |
