mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 21:54:11 +08:00
[SPARC64]: Partially revert "Constify function pointer tables."
This partially reverts 872e2be7c4
(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…
Reference in New Issue
Block a user