blob: 70257ed4ae4b27d70a14445d04bb06415bf73c67 [file] [log] [blame]
Iliyan Malchev898cc982009-08-20 16:31:28 -07001/****************************************************************************
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_LIGHTSENSOR_H
13#define __LINUX_LIGHTSENSOR_H
Ben Cheng4b29af02012-03-07 16:14:53 -080014
Iliyan Malchev898cc982009-08-20 16:31:28 -070015#include <linux/types.h>
16#include <linux/ioctl.h>
Ben Cheng4b29af02012-03-07 16:14:53 -080017
Iliyan Malchev898cc982009-08-20 16:31:28 -070018#define LIGHTSENSOR_IOCTL_MAGIC 'l'
Ben Cheng4b29af02012-03-07 16:14:53 -080019
Iliyan Malchev898cc982009-08-20 16:31:28 -070020#define LIGHTSENSOR_IOCTL_GET_ENABLED _IOR(LIGHTSENSOR_IOCTL_MAGIC, 1, int *)
21#define LIGHTSENSOR_IOCTL_ENABLE _IOW(LIGHTSENSOR_IOCTL_MAGIC, 2, int *)
Ben Cheng4b29af02012-03-07 16:14:53 -080022
Iliyan Malchev898cc982009-08-20 16:31:28 -070023#endif
Ben Cheng4b29af02012-03-07 16:14:53 -080024