aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/atm/clip.c2
-rw-r--r--net/atm/lec.c2
-rw-r--r--net/atm/mpc.c2
-rw-r--r--net/atm/signaling.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/net/atm/clip.c b/net/atm/clip.c
index f271a7bcf5b2..65f706e4344c 100644
--- a/net/atm/clip.c
+++ b/net/atm/clip.c
@@ -617,7 +617,7 @@ static void atmarpd_close(struct atm_vcc *vcc)
617 module_put(THIS_MODULE); 617 module_put(THIS_MODULE);
618} 618}
619 619
620static struct atmdev_ops atmarpd_dev_ops = { 620static const struct atmdev_ops atmarpd_dev_ops = {
621 .close = atmarpd_close 621 .close = atmarpd_close
622}; 622};
623 623
diff --git a/net/atm/lec.c b/net/atm/lec.c
index 093fe8707731..a3d93a1bb133 100644
--- a/net/atm/lec.c
+++ b/net/atm/lec.c
@@ -486,7 +486,7 @@ static void lec_atm_close(struct atm_vcc *vcc)
486 module_put(THIS_MODULE); 486 module_put(THIS_MODULE);
487} 487}
488 488
489static struct atmdev_ops lecdev_ops = { 489static const struct atmdev_ops lecdev_ops = {
490 .close = lec_atm_close, 490 .close = lec_atm_close,
491 .send = lec_atm_send 491 .send = lec_atm_send
492}; 492};
diff --git a/net/atm/mpc.c b/net/atm/mpc.c
index 680a4b9095a1..5677147209e8 100644
--- a/net/atm/mpc.c
+++ b/net/atm/mpc.c
@@ -779,7 +779,7 @@ static void mpc_push(struct atm_vcc *vcc, struct sk_buff *skb)
779 netif_rx(new_skb); 779 netif_rx(new_skb);
780} 780}
781 781
782static struct atmdev_ops mpc_ops = { /* only send is required */ 782static const struct atmdev_ops mpc_ops = { /* only send is required */
783 .close = mpoad_close, 783 .close = mpoad_close,
784 .send = msg_from_mpoad 784 .send = msg_from_mpoad
785}; 785};
diff --git a/net/atm/signaling.c b/net/atm/signaling.c
index 983c3a21a133..0a20f6e953ac 100644
--- a/net/atm/signaling.c
+++ b/net/atm/signaling.c
@@ -217,7 +217,7 @@ static void sigd_close(struct atm_vcc *vcc)
217 read_unlock(&vcc_sklist_lock); 217 read_unlock(&vcc_sklist_lock);
218} 218}
219 219
220static struct atmdev_ops sigd_dev_ops = { 220static const struct atmdev_ops sigd_dev_ops = {
221 .close = sigd_close, 221 .close = sigd_close,
222 .send = sigd_send 222 .send = sigd_send
223}; 223};