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

Commit 0f9313ad authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

V4L/DVB: staging/lirc: CodingStyle cleanups

parent 14f184e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -111,7 +111,7 @@ struct imon_context {
	} tx;
};

static struct file_operations display_fops = {
static const struct file_operations display_fops = {
	.owner		= THIS_MODULE,
	.open		= &display_open,
	.write		= &vfd_write,
+1 −1
Original line number Diff line number Diff line
@@ -329,7 +329,7 @@ static void add_read_queue(int flag, unsigned long val)
}


static struct file_operations lirc_fops = {
static const struct file_operations lirc_fops = {
	.owner		= THIS_MODULE,
	.read		= lirc_read,
	.write		= lirc_write,
+1 −1
Original line number Diff line number Diff line
@@ -539,7 +539,7 @@ static int lirc_close(struct inode *node, struct file *filep)
	return 0;
}

static struct file_operations lirc_fops = {
static const struct file_operations lirc_fops = {
	.owner		= THIS_MODULE,
	.llseek		= lirc_lseek,
	.read		= lirc_read,
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ struct sasem_context {
};

/* VFD file operations */
static struct file_operations vfd_fops = {
static const struct file_operations vfd_fops = {
	.owner		= THIS_MODULE,
	.open		= &vfd_open,
	.write		= &vfd_write,
+1 −1
Original line number Diff line number Diff line
@@ -1050,7 +1050,7 @@ static long lirc_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
	return 0;
}

static struct file_operations lirc_fops = {
static const struct file_operations lirc_fops = {
	.owner		= THIS_MODULE,
	.write		= lirc_write,
	.unlocked_ioctl	= lirc_ioctl,
Loading