Skip to content

Commit

Permalink
[SPARC64]: Partially revert "Constify function pointer tables."
Browse files Browse the repository at this point in the history
This partially reverts 872e2be
(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>
  • Loading branch information
davem330 committed Jan 24, 2008
1 parent 4784b11 commit de195fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc64/solaris/socksys.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};

Expand Down

0 comments on commit de195fd

Please sign in to comment.