Browse Source

Staging: speakup: devsynth: file_operations should be const

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>
Tracey Dent 15 years ago
parent
commit
a1823f2ec3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/speakup/devsynth.c

+ 1 - 1
drivers/staging/speakup/devsynth.c

@@ -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,