From: Tracey Dent Date: Fri, 8 Oct 2010 10:14:44 +0000 (-0400) Subject: Staging: speakup: devsynth: file_operations should be const X-Git-Tag: v2.6.37-rc1~60^2~3^2~218 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1823f2ec3ffa86b7b3676bfd432b6da25298ff6;p=profile%2Fivi%2Fkernel-x86-ivi.git Staging: speakup: devsynth: file_operations should be const Fixed file_operation struct, so that it is const. Signed-off-by: Tracey Dent Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/speakup/devsynth.c b/drivers/staging/speakup/devsynth.c index a465653..8b74622 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,