cm36686.h 377 B

1234567891011121314151617181920
  1. #ifndef __LINUX_CM36686_H
  2. #define __CM36686_H__
  3. #include <linux/types.h>
  4. #ifdef __KERNEL__
  5. struct cm36686_platform_data {
  6. int irq; /* proximity-sensor irq gpio */
  7. int default_hi_thd;
  8. int default_low_thd;
  9. int cancel_hi_thd;
  10. int cancel_low_thd;
  11. #if defined(CONFIG_SENSORS_CM36686_LEDA_EN_GPIO)
  12. int leden_gpio;
  13. #endif
  14. };
  15. extern struct class *sensors_class;
  16. #endif
  17. #endif