summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDhoat Harpal <hdhoat@codeaurora.org>2017-04-12 19:48:14 +0530
committerDhoat Harpal <hdhoat@codeaurora.org>2017-04-20 16:36:44 +0530
commit87d20dd4d339a4ac0229861f26e9e5974d1cc419 (patch)
tree426840a7bb7b85c785042522bb77199130389346 /include
parent617c68c493c27fd08d247ffc877fb44cb8df67fb (diff)
char: msm_smd_pkt: Add snapshot of SMD packet driver
This snapshot is taken as of msm-3.18 'commit 7e1165aac628 ("Merge drivers: iio: bmi160: Enabled the buffering support for BMI160 Sensor")' CRs-Fixed: 2035593 Change-Id: I2951e77f226062d82e84a26fce6ab932b9685223 Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/msm_smd_pkt.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/msm_smd_pkt.h b/include/linux/msm_smd_pkt.h
new file mode 100644
index 000000000000..c79933d27d4a
--- /dev/null
+++ b/include/linux/msm_smd_pkt.h
@@ -0,0 +1,23 @@
+/* Copyright (c) 2010,2017 The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+#ifndef __LINUX_MSM_SMD_PKT_H
+#define __LINUX_MSM_SMD_PKT_H
+
+#include <linux/ioctl.h>
+
+#define SMD_PKT_IOCTL_MAGIC (0xC2)
+
+#define SMD_PKT_IOCTL_BLOCKING_WRITE \
+ _IOR(SMD_PKT_IOCTL_MAGIC, 0, unsigned int)
+
+#endif /* __LINUX_MSM_SMD_PKT_H */