Fixed MTP to work with TWRP

This commit is contained in:
awab228 2018-06-19 23:16:04 +02:00
commit f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions

17
include/linux/hall.h Normal file
View file

@ -0,0 +1,17 @@
#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 */