mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
net: socket: mark socket protocol handler structs as const
Signed-off-by: linzhang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
9aef88ec85
commit
173e7837a2
4 changed files with 4 additions and 4 deletions
|
|
@ -1985,7 +1985,7 @@ static int kcm_create(struct net *net, struct socket *sock,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct net_proto_family kcm_family_ops = {
|
||||
static const struct net_proto_family kcm_family_ops = {
|
||||
.family = PF_KCM,
|
||||
.create = kcm_create,
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
|||
Loading…
Reference in a new issue