blob: 1c0c9a5e8f3535b4355435279ca1723d64dcccab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*for Hall sensor common header file*/
#ifndef __LINUX_HALL_SENSOR_H
#define __LINUX_HALL_SENSOR_H
#define HALL_POLE_BIT 1
#define HALL_POLE_N 0
#define HALL_POLE_S 1
#define HALL_FAR 0
#define HALL_NEAR 1
extern struct blocking_notifier_head hallsensor_notifier_list;
extern int register_notifier_by_hallsensor(struct notifier_block *nb);
extern int unregister_notifier_by_hallsensor(struct notifier_block *nb);
int hallsensor_enable_by_hover_driver(int on);
#endif
|