From 4a1fe7167b8d83ef640d5cd4ff2c2377c1a75774 Mon Sep 17 00:00:00 2001 From: Iliyan Malchev Date: Wed, 8 Jul 2009 14:04:16 -0700 Subject: [PATCH] bionic: add cleaned-up proximity-sensor header Signed-off-by: Iliyan Malchev --- libc/kernel/common/linux/capella_cm3602.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 libc/kernel/common/linux/capella_cm3602.h diff --git a/libc/kernel/common/linux/capella_cm3602.h b/libc/kernel/common/linux/capella_cm3602.h new file mode 100644 index 000000000..6391e8ae4 --- /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 +#include + +#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 + -- 2.11.0