projects
/
linux-flexiantxendom0-natty.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
const: mark struct vm_struct_operations
[linux-flexiantxendom0-natty.git]
/
drivers
/
char
/
mspec.c
diff --git
a/drivers/char/mspec.c
b/drivers/char/mspec.c
index
30f095a
..
1997270
100644
(file)
--- a/
drivers/char/mspec.c
+++ b/
drivers/char/mspec.c
@@
-239,7
+239,7
@@
mspec_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
return VM_FAULT_NOPAGE;
}
-static struct vm_operations_struct mspec_vm_ops = {
+static const struct vm_operations_struct mspec_vm_ops = {
.open = mspec_open,
.close = mspec_close,
.fault = mspec_fault,