aboutsummaryrefslogtreecommitdiff
path: root/include/linux/pl_sensor.h
blob: 15dcea7c2c88147bd4899311b90fefcd956296cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __LINUX_PL_SENSOR_H
#define __LINUX_PL_SENSOR_H

extern struct blocking_notifier_head psensor_notifier_list;

extern int register_notifier_by_psensor(struct notifier_block *nb);
extern int unregister_notifier_by_psensor(struct notifier_block *nb);
int psensor_enable_by_touch_driver(int on);
int power_key_check_in_pocket(void);
int pocket_detection_check(void);
#endif