Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2dd67a15 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: synx: Fix synx device closure"

parents 25eda448 a7c34145
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1302,7 +1302,7 @@ static int synx_open(struct inode *inode, struct file *filep)
	return 0;
}

static int synx_close(struct file *filep, fl_owner_t id)
static int synx_close(struct inode *inode, struct file *filep)
{
	int rc = 0;
	int i;
@@ -1382,7 +1382,7 @@ static const struct file_operations synx_fops = {
	.owner = THIS_MODULE,
	.open  = synx_open,
	.read  = synx_read,
	.flush = synx_close,
	.release = synx_close,
	.poll  = synx_poll,
	.unlocked_ioctl = synx_ioctl,
#ifdef CONFIG_COMPAT