summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-01-23 21:32:04 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-23 21:32:04 -0800
commitde195fd0016f9ab85f1d596dca48dade33f26d36 (patch)
tree5c6f48e3ad5d74ca0a0abb88a3fae87ccb546232 /arch
parent4784b11c4f49eb88f2dd74df6afc5170f193cedc (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')
-rw-r--r--arch/sparc64/solaris/socksys.c2
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 *);
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 */
};