bionic: add cleaned-up proximity-sensor header
Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
parent
838ac974f4
commit
4a1fe7167b
1 changed files with 23 additions and 0 deletions
23
libc/kernel/common/linux/capella_cm3602.h
Normal file
23
libc/kernel/common/linux/capella_cm3602.h
Normal file
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue