constify a bunch of struct file_operations instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
c10c062cad
commit
75ef9de126
13 changed files with 17 additions and 17 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue