]> asedeno.scripts.mit.edu Git - linux.git/commit
greybus: es1: struct file_operations needs to be const
authorGreg Kroah-Hartman <greg@kroah.com>
Tue, 24 Mar 2015 19:08:12 +0000 (20:08 +0100)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 24 Mar 2015 19:08:12 +0000 (20:08 +0100)
commit4600d03f80aea65f29f324b89d1b3437982f3eba
treee3f7b1a3452b1c8b93b8f6bffead8c82de63ed84
parent26164edb8fb467a4249fab159709a6cfc50ddc8c
greybus: es1: struct file_operations needs to be const

We aren't changing these pointers, so mark them read-only as that is the
preferred way.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/es1.c