summaryrefslogtreecommitdiff
path: root/drivers/misc/mdbg/mdbg.h
blob: 1293c5b54f8448be153772fa375894467d898865 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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