projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bd15cf
)
Staging: speakup: devsynth: file_operations should be const
author
Tracey Dent
<tdent48227@gmail.com>
Fri, 8 Oct 2010 10:14:44 +0000
(06:14 -0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 8 Oct 2010 14:26:25 +0000
(07:26 -0700)
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>
drivers/staging/speakup/devsynth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/speakup/devsynth.c
b/drivers/staging/speakup/devsynth.c
index a4656533dd553895db08f177db86082178a6c941..8b7462285d33cfe7dea1d8034a6b85dc48995af6 100644
(file)
--- 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,