summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2009-07-08 14:04:16 -0700
committerIliyan Malchev <malchev@google.com>2009-07-08 20:33:12 -0700
commit4a1fe7167b8d83ef640d5cd4ff2c2377c1a75774 (patch)
treedc6662e93b0f2d91b363bcad527f0bfa83e5930e /libc
parent838ac974f4b6fd92dea1d62e3a19cc6a2e378d19 (diff)
downloadbionic-4a1fe7167b8d83ef640d5cd4ff2c2377c1a75774.zip
bionic-4a1fe7167b8d83ef640d5cd4ff2c2377c1a75774.tar.gz
bionic-4a1fe7167b8d83ef640d5cd4ff2c2377c1a75774.tar.bz2
bionic: add cleaned-up proximity-sensor header
Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/kernel/common/linux/capella_cm3602.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/libc/kernel/common/linux/capella_cm3602.h b/libc/kernel/common/linux/capella_cm3602.h
new file mode 100644
index 0000000..6391e8a
--- /dev/null
+++ b/libc/kernel/common/linux/capella_cm3602.h
@@ -0,0 +1,23 @@
+/****************************************************************************
+ ****************************************************************************
+ ***
+ *** This header was automatically generated from a Linux kernel header
+ *** of the same name, to make information necessary for userspace to
+ *** call into the kernel available to libc. It contains only constants,
+ *** structures, and macros generated from the original header, and thus,
+ *** contains no copyrightable information.
+ ***
+ ****************************************************************************
+ ****************************************************************************/
+#ifndef __LINUX_CAPELLA_CM3602_H
+#define __LINUX_CAPELLA_CM3602_H
+
+#include <linux/types.h>
+#include <linux/ioctl.h>
+
+#define CAPELLA_CM3602_IOCTL_MAGIC 'c'
+#define CAPELLA_CM3602_IOCTL_GET_ENABLED _IOR(CAPELLA_CM3602_IOCTL_MAGIC, 1, int *)
+#define CAPELLA_CM3602_IOCTL_ENABLE _IOW(CAPELLA_CM3602_IOCTL_MAGIC, 2, int *)
+
+#endif
+