diff options
author | David S. Miller <davem@davemloft.net> | 2008-01-24 00:32:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-24 00:32:04 -0500 |
commit | de195fd0016f9ab85f1d596dca48dade33f26d36 (patch) | |
tree | 5c6f48e3ad5d74ca0a0abb88a3fae87ccb546232 /arch/sparc64 | |
parent | 4784b11c4f49eb88f2dd74df6afc5170f193cedc (diff) |
[SPARC64]: Partially revert "Constify function pointer tables."
This partially reverts 872e2be7c4056496c2871bd9b0f2fae6c374fe47
(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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64')
-rw-r--r-- | arch/sparc64/solaris/socksys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/solaris/socksys.c b/arch/sparc64/solaris/socksys.c index 5f064183c874..7736411f244f 100644 --- a/arch/sparc64/solaris/socksys.c +++ b/arch/sparc64/solaris/socksys.c | |||
@@ -54,7 +54,7 @@ extern void mykfree(void *); | |||
54 | 54 | ||
55 | static unsigned int (*sock_poll)(struct file *, poll_table *); | 55 | static unsigned int (*sock_poll)(struct file *, poll_table *); |
56 | 56 | ||
57 | static const struct file_operations socksys_file_ops = { | 57 | static struct file_operations socksys_file_ops = { |
58 | /* Currently empty */ | 58 | /* Currently empty */ |
59 | }; | 59 | }; |
60 | 60 | ||