projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] mark struct file_operations const 2
[powerpc.git]
/
arch
/
cris
/
arch-v32
/
drivers
/
sync_serial.c
diff --git
a/arch/cris/arch-v32/drivers/sync_serial.c
b/arch/cris/arch-v32/drivers/sync_serial.c
index
424eb0e
..
df89298
100644
(file)
--- a/
arch/cris/arch-v32/drivers/sync_serial.c
+++ b/
arch/cris/arch-v32/drivers/sync_serial.c
@@
-187,7
+187,7
@@
static struct sync_port ports[]=
#define NUMBER_OF_PORTS (sizeof(ports)/sizeof(sync_port))
-static struct file_operations sync_serial_fops = {
+static
const
struct file_operations sync_serial_fops = {
.owner = THIS_MODULE,
.write = sync_serial_write,
.read = sync_serial_read,