Commit de195fd0 authored by David S. Miller's avatar David S. Miller

[SPARC64]: Partially revert "Constify function pointer tables."

This partially reverts 872e2be7
(Constify function pointer tables.)

The solaris/socksys.c transformation wasn't valid:

arch/sparc64/solaris/socksys.c:192: error: assignment of read-only variable ‘socksys_file_ops’
arch/sparc64/solaris/socksys.c:195: error: assignment of read-only variable ‘socksys_file_ops’
arch/sparc64/solaris/socksys.c:196: error: assignment of read-only variable ‘socksys_file_ops’
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4784b11c
...@@ -54,7 +54,7 @@ extern void mykfree(void *); ...@@ -54,7 +54,7 @@ extern void mykfree(void *);
static unsigned int (*sock_poll)(struct file *, poll_table *); 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 */ /* Currently empty */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment