diff options
author | Tracey Dent <tdent48227@gmail.com> | 2010-10-08 06:14:44 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-08 07:26:25 -0700 |
commit | a1823f2ec3ffa86b7b3676bfd432b6da25298ff6 (patch) | |
tree | 3abc5f80b19af57774510f09b2ddad36d68bfd13 | |
parent | 1bd15cfd79841d9e2464a37fe059d492a3ee0753 (diff) |
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>
-rw-r--r-- | drivers/staging/speakup/devsynth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/speakup/devsynth.c b/drivers/staging/speakup/devsynth.c index a4656533dd5..8b7462285d3 100644 --- a/drivers/staging/speakup/devsynth.c +++ b/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, |