mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
qbt_handler: Change return type of qbt_poll
Add changes to make touch events notifier static. Change the return type of qbt_poll from unsigned int to __poll_t. Change-Id: Ib43f6bb5ba77cb48d1e47e1ecd1d5b810f7c9159 Signed-off-by: Abir Ghosh <abirg@codeaurora.org>
This commit is contained in:
parent
bdd1662e16
commit
a309409b03
1 changed files with 3 additions and 3 deletions
|
|
@ -203,7 +203,7 @@ static int qfp_touch_event_notify(struct notifier_block *self,
|
|||
return NOTIFY_OK;
|
||||
}
|
||||
|
||||
struct notifier_block _input_event_notifier = {
|
||||
static struct notifier_block _input_event_notifier = {
|
||||
.notifier_call = qfp_touch_event_notify,
|
||||
};
|
||||
|
||||
|
|
@ -567,11 +567,11 @@ static ssize_t qbt_read(struct file *filp, char __user *ubuf,
|
|||
return num_bytes;
|
||||
}
|
||||
|
||||
static unsigned int qbt_poll(struct file *filp,
|
||||
static __poll_t qbt_poll(struct file *filp,
|
||||
struct poll_table_struct *wait)
|
||||
{
|
||||
struct qbt_drvdata *drvdata;
|
||||
unsigned int mask = 0;
|
||||
__poll_t mask = 0;
|
||||
int minor_no = -1;
|
||||
|
||||
if (!filp || !filp->private_data) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue