From: Andrew Morton arch/sparc64/solaris/socksys.c: In function `init_socksys': arch/sparc64/solaris/socksys.c:193: error: assignment of read-only variable `socksys_file_ops' arch/sparc64/solaris/socksys.c:196: error: assignment of read-only variable `socksys_file_ops' arch/sparc64/solaris/socksys.c:197: error: assignment of read-only variable `socksys_file_ops' I'm not sure what it's trying to do in there, but it doens't look good. Cc: Arjan van de Ven Cc: "David S. Miller" Signed-off-by: Andrew Morton --- arch/sparc64/solaris/socksys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/sparc64/solaris/socksys.c~mark-struct-file_operations-const-2-fix arch/sparc64/solaris/socksys.c --- a/arch/sparc64/solaris/socksys.c~mark-struct-file_operations-const-2-fix +++ a/arch/sparc64/solaris/socksys.c @@ -55,7 +55,7 @@ extern void mykfree(void *); static unsigned int (*sock_poll)(struct file *, poll_table *); -static const struct file_operations socksys_file_ops = { +static struct file_operations socksys_file_ops = { /* Currently empty */ }; _