projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] make more file_operation structs static
[linux-2.6-block.git]
/
drivers
/
char
/
mmtimer.c
diff --git
a/drivers/char/mmtimer.c
b/drivers/char/mmtimer.c
index 70b774ff5aa411363c646546b67f5ea8338520a0..1f0f2b6dae2658e8736842db0d91c5ea3d90d929 100644
(file)
--- a/
drivers/char/mmtimer.c
+++ b/
drivers/char/mmtimer.c
@@
-63,7
+63,7
@@
static int mmtimer_mmap(struct file *file, struct vm_area_struct *vma);
*/
static unsigned long mmtimer_femtoperiod = 0;
-static struct file_operations mmtimer_fops = {
+static
const
struct file_operations mmtimer_fops = {
.owner = THIS_MODULE,
.mmap = mmtimer_mmap,
.ioctl = mmtimer_ioctl,