diff options
Diffstat (limited to 'drivers/misc/sprd_srt/sprd_srt.h')
| -rw-r--r-- | drivers/misc/sprd_srt/sprd_srt.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/misc/sprd_srt/sprd_srt.h b/drivers/misc/sprd_srt/sprd_srt.h new file mode 100644 index 00000000..bd107920 --- /dev/null +++ b/drivers/misc/sprd_srt/sprd_srt.h @@ -0,0 +1,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 |
