mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-12 08:09:56 +00:00
[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>
This commit is contained in:
parent
4784b11c4f
commit
de195fd001
@ -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 */
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user