From: David S. Miller Date: Thu, 24 Jan 2008 05:32:04 +0000 (-0800) Subject: [SPARC64]: Partially revert "Constify function pointer tables." X-Git-Tag: v2.6.24~3^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=de195fd0016f9ab85f1d596dca48dade33f26d36;p=linux-2.6-omap-h63xx.git [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 --- diff --git a/arch/sparc64/solaris/socksys.c b/arch/sparc64/solaris/socksys.c index 5f064183c87..7736411f244 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 */ };