summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-04-21 00:37:36 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-04-21 00:37:35 -0700
commit8ab7fc293921e494a8984a2e8d140dc6c5c58434 (patch)
tree709fdec260d90b24574915e609da380d8e49baa7 /include
parentf1a91e13f241d74bc2607277700d214e4cdade90 (diff)
parent87d20dd4d339a4ac0229861f26e9e5974d1cc419 (diff)
Merge "char: msm_smd_pkt: Add snapshot of SMD packet driver"
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 */