1234567891011121314151617181920 |
- #ifndef __LINUX_CM36686_H
- #define __CM36686_H__
- #include <linux/types.h>
- #ifdef __KERNEL__
- struct cm36686_platform_data {
- int irq; /* proximity-sensor irq gpio */
- int default_hi_thd;
- int default_low_thd;
- int cancel_hi_thd;
- int cancel_low_thd;
- #if defined(CONFIG_SENSORS_CM36686_LEDA_EN_GPIO)
- int leden_gpio;
- #endif
- };
- extern struct class *sensors_class;
- #endif
- #endif
|