summaryrefslogtreecommitdiff
path: root/drivers/misc/sprd_srt/sprd_srt.h
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
committerYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
commit8e4bff4cab0ddac6060645b0715210484d02ff40 (patch)
tree3a5c3024371a04692a3a6d9974d001cdff8ebf84 /drivers/misc/sprd_srt/sprd_srt.h
Initial file dump from open source releaseHEADmaster
Diffstat (limited to 'drivers/misc/sprd_srt/sprd_srt.h')
-rw-r--r--drivers/misc/sprd_srt/sprd_srt.h29
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