Add headers for new sensors
Change-Id: I1de2bf65310920b3496c58f05b3c39158de4c51d
This commit is contained in:
23
libc/kernel/common/linux/max9635.h
Normal file
23
libc/kernel/common/linux/max9635.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_MAX9635_H__
|
||||
#define _LINUX_MAX9635_H__
|
||||
|
||||
#define MAX9635_NAME "MAX9635_als"
|
||||
#define FOPS_MAX9635_NAME "MAX9635"
|
||||
|
||||
#define MAX9635_IO 0xA3
|
||||
|
||||
#define MAX9635_IOCTL_GET_ENABLE _IOR(MAX9635_IO, 0x00, char)
|
||||
#define MAX9635_IOCTL_SET_ENABLE _IOW(MAX9635_IO, 0x01, char)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user