git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tree-wide: fix assorted typos all over the place
[safe/jmp/linux-2.6]
/
drivers
/
char
/
mem.c
diff --git
a/drivers/char/mem.c
b/drivers/char/mem.c
index
6c8b65d
..
42e65cf
100644
(file)
--- a/
drivers/char/mem.c
+++ b/
drivers/char/mem.c
@@
-5,7
+5,7
@@
*
* Added devfs support.
* Jan-11-1998, C. Scott Ananian <cananian@alumni.princeton.edu>
*
* Added devfs support.
* Jan-11-1998, C. Scott Ananian <cananian@alumni.princeton.edu>
- * Shared /dev/zero mmaping support, Feb 2000, Kanoj Sarcar <kanoj@sgi.com>
+ * Shared /dev/zero mmap
p
ing support, Feb 2000, Kanoj Sarcar <kanoj@sgi.com>
*/
#include <linux/mm.h>
*/
#include <linux/mm.h>
@@
-301,7
+301,7
@@
static inline int private_mapping_ok(struct vm_area_struct *vma)
}
#endif
}
#endif
-static struct vm_operations_struct mmap_mem_ops = {
+static
const
struct vm_operations_struct mmap_mem_ops = {
#ifdef CONFIG_HAVE_IOREMAP_PROT
.access = generic_access_phys
#endif
#ifdef CONFIG_HAVE_IOREMAP_PROT
.access = generic_access_phys
#endif