summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Nikam <snikam@nvidia.com>2012-06-04 17:50:15 +0530
committerVarun Colbert <vcolbert@nvidia.com>2012-06-04 17:31:00 -0700
commit63fb092060747250a0dd305bd11018caebe23d65 (patch)
tree9f525bd5bf89d1a12c6a117849c778edeed49158
parent02487bb96c7a6d608058c2a1095e1d501f193419 (diff)
lightsensor: adding LIGHTSENSOR_IOCTL_SET_DELAY
Introducing LIGHTSENSOR_IOCTL_SET_DELAY to set the polling interval Bug 993924 Change-Id: I3a4513799d3d96b9c3b701c1194b31562bf8f1e2 Signed-off-by: Sachin Nikam <snikam@nvidia.com> Reviewed-on: http://git-master/r/106185 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
-rw-r--r--include/linux/lightsensor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/lightsensor.h b/include/linux/lightsensor.h
index 7a87853ac064..fc683fd786ac 100644
--- a/include/linux/lightsensor.h
+++ b/include/linux/lightsensor.h
@@ -24,5 +24,6 @@
#define LIGHTSENSOR_IOCTL_GET_ENABLED _IOR(LIGHTSENSOR_IOCTL_MAGIC, 1, int *)
#define LIGHTSENSOR_IOCTL_ENABLE _IOW(LIGHTSENSOR_IOCTL_MAGIC, 2, int *)
+#define LIGHTSENSOR_IOCTL_SET_DELAY _IOW(LIGHTSENSOR_IOCTL_MAGIC, 3, int *)
#endif