]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[SPARC64]: Partially revert "Constify function pointer tables."
authorDavid S. Miller <davem@davemloft.net>
Thu, 24 Jan 2008 05:32:04 +0000 (21:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Jan 2008 05:32:04 +0000 (21:32 -0800)
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>
arch/sparc64/solaris/socksys.c

index 5f064183c8740b73122066805575aafdfc1b5407..7736411f244ff06f760a233ebc94ab8a5bf36bba 100644 (file)
@@ -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 */
 };