android_kernel_samsung_on5x.../include/linux/hall.h
2018-06-19 23:16:04 +02:00

17 lines
339 B
C

#ifndef _HALL_H
#define _HALL_H
struct hall_platform_data {
unsigned int rep:1; /* enable input subsystem auto repeat */
int gpio_flip_cover;
};
extern struct device *sec_key;
#ifdef CONFIG_SENSORS_HALL_IRQ_CTRL
extern void hall_irq_set(int state, bool auth_changed);
enum state {
disable = 0,
enable
};
#endif
#endif /* _HALL_H */