Skip to content

Commit

Permalink
Staging: speakup: devsynth: file_operations should be const
Browse files Browse the repository at this point in the history
Fixed file_operation struct, so that it is const.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Tracey Dent authored and Greg Kroah-Hartman committed Oct 8, 2010
1 parent 1bd15cf commit a1823f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/speakup/devsynth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a1823f2

Please sign in to comment.