mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
net: constify remaining proto_ops
Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
41135cc836
commit
5708e868dc
5 changed files with 8 additions and 8 deletions
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
static char iucv_userid[80];
|
||||
|
||||
static struct proto_ops iucv_sock_ops;
|
||||
static const struct proto_ops iucv_sock_ops;
|
||||
|
||||
static struct proto iucv_proto = {
|
||||
.name = "AF_IUCV",
|
||||
|
|
@ -1682,7 +1682,7 @@ static void iucv_callback_shutdown(struct iucv_path *path, u8 ipuser[16])
|
|||
bh_unlock_sock(sk);
|
||||
}
|
||||
|
||||
static struct proto_ops iucv_sock_ops = {
|
||||
static const struct proto_ops iucv_sock_ops = {
|
||||
.family = PF_IUCV,
|
||||
.owner = THIS_MODULE,
|
||||
.release = iucv_sock_release,
|
||||
|
|
|
|||
Loading…
Reference in a new issue