aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sensor/cm36651.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sensor/cm36651.h')
-rw-r--r--include/linux/sensor/cm36651.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/sensor/cm36651.h b/include/linux/sensor/cm36651.h
new file mode 100644
index 0000000..3dce9ac
--- /dev/null
+++ b/include/linux/sensor/cm36651.h
@@ -0,0 +1,11 @@
+#ifndef __LINUX_CM36651_H
+#define __CM36651_H__
+
+#ifdef __KERNEL__
+struct cm36651_platform_data {
+ int (*cm36651_led_on) (bool);
+ u8 (*cm36651_get_threshold)(void);
+ int irq; /* proximity-sensor irq gpio */
+};
+#endif
+#endif