constify a bunch of struct file_operations instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -152,7 +152,7 @@ static int lirc_thread(void *irctl)
|
||||
}
|
||||
|
||||
|
||||
static struct file_operations lirc_dev_fops = {
|
||||
static const struct file_operations lirc_dev_fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.read = lirc_dev_fop_read,
|
||||
.write = lirc_dev_fop_write,
|
||||
|
Reference in New Issue
Block a user