summaryrefstree
path: root/kernel/drivers/sensorhub/brcm/bbdpl/bcm477x_debug.h
blob: 90cb8f2753e0bd5e36d9822b07b2711339fc0ddb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _BCM477x_DEBUG_
#define _BCM477x_DEBUG_

#define MAX_BCM477X_DEBUG_BUFFER_SIZE (64*1024)

struct bcm477x_debug
{
    bool is_opened;

	bool buf_full;
	unsigned long buf_head;
	unsigned long buf_tail;
	unsigned char *buf;
};

#endif // _BCM477x_DEBUG_