OSDN Git Service

bionic: add cleaned-up proximity-sensor header
authorIliyan Malchev <malchev@google.com>
Wed, 8 Jul 2009 21:04:16 +0000 (14:04 -0700)
committerIliyan Malchev <malchev@google.com>
Thu, 9 Jul 2009 03:33:12 +0000 (20:33 -0700)
Signed-off-by: Iliyan Malchev <malchev@google.com>
libc/kernel/common/linux/capella_cm3602.h [new file with mode: 0644]

diff --git a/libc/kernel/common/linux/capella_cm3602.h b/libc/kernel/common/linux/capella_cm3602.h
new file mode 100644 (file)
index 0000000..6391e8a
--- /dev/null
@@ -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
+