Colin Cross | b508876 | 2010-06-09 15:51:43 -0700 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | **************************************************************************** |
| 11 | ****************************************************************************/ |
| 12 | #ifndef _LINUX_MAX9635_H__ |
| 13 | #define _LINUX_MAX9635_H__ |
Ben Cheng | 4b29af0 | 2012-03-07 16:14:53 -0800 | [diff] [blame] | 14 | |
Colin Cross | b508876 | 2010-06-09 15:51:43 -0700 | [diff] [blame] | 15 | #define MAX9635_NAME "MAX9635_als" |
| 16 | #define FOPS_MAX9635_NAME "MAX9635" |
Ben Cheng | 4b29af0 | 2012-03-07 16:14:53 -0800 | [diff] [blame] | 17 | |
Colin Cross | b508876 | 2010-06-09 15:51:43 -0700 | [diff] [blame] | 18 | #define MAX9635_IO 0xA3 |
Ben Cheng | 4b29af0 | 2012-03-07 16:14:53 -0800 | [diff] [blame] | 19 | |
Colin Cross | b508876 | 2010-06-09 15:51:43 -0700 | [diff] [blame] | 20 | #define MAX9635_IOCTL_GET_ENABLE _IOR(MAX9635_IO, 0x00, char) |
| 21 | #define MAX9635_IOCTL_SET_ENABLE _IOW(MAX9635_IO, 0x01, char) |
Ben Cheng | 4b29af0 | 2012-03-07 16:14:53 -0800 | [diff] [blame] | 22 | |
Colin Cross | b508876 | 2010-06-09 15:51:43 -0700 | [diff] [blame] | 23 | #endif |