android_kernel_samsung_msm8976/drivers/sensors/cm36686.h

21 lines
416 B
C

#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;
int default_trim;
#if defined(CONFIG_SENSORS_CM36686_LEDA_EN_GPIO)
int leden_gpio;
#endif
};
extern struct class *sensors_class;
#endif
#endif