summaryrefstree
path: root/kernel/include/linux/hall.h
blob: 91692b04ade636fdfb4a12dd92f3fefe160a92b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _HALL_H
#define _HALL_H
struct hall_platform_data {
	unsigned int rep:1;		/* enable input subsystem auto repeat */
	int gpio_flip_cover;
	int gpio_certify_cover;
	int irq_flip_cover;
	int irq_certify_cover;
#if defined(EMULATE_HALL_IC)
	int gpio_flip_cover_key1;
	int gpio_flip_cover_key2;
#endif
};
extern struct device *sec_key;

#if defined(CONFIG_FOLDER_HALL)
void hall_ic_register_notify(struct notifier_block *nb);
void hall_ic_unregister_notify(struct notifier_block *nb);
void hall_ic_request_notify(struct notifier_block *nb);
#endif

#endif /* _HALL_H */