Commit a1823f2e authored by Tracey Dent's avatar Tracey Dent Committed by Greg Kroah-Hartman

Staging: speakup: devsynth: file_operations should be const

Fixed file_operation struct, so that it is const.
Signed-off-by: default avatarTracey Dent <tdent48227@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 1bd15cfd
......@@ -56,7 +56,7 @@ static int speakup_file_release(struct inode *ip, struct file *fp)
return 0;
}
static struct file_operations synth_fops = {
static const struct file_operations synth_fops = {
.read = speakup_file_read,
.write = speakup_file_write,
.open = speakup_file_open,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment