summaryrefslogtreecommitdiff
path: root/drivers/misc/sprd_srt/sprd_srt.h
blob: bd107920e3dd8da414b511302233062cf395d3ed (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
25
26
27
28
29
#ifndef __SPRD_SRT_H__
#define __SPRD_SRT_H__



#ifdef LOG_TAG
#undef LOG_TAG
#endif
#define LOG_TAG    "<4>SPRD_SRT "


#define SRT_DEBUG (0) /*log switch ,default 0*/
#if SRT_DEBUG
#define DEBUG_PRINT printk
#else
#define DEBUG_PRINT(...)
#endif

struct srtinfo_struct
{
	unsigned int value[5];
};
struct srt_dev {
	struct cdev cdev;
	int dev_major;
	struct class *pClass;
	struct device *pClassDev;
};
#endif