summaryrefslogtreecommitdiffstats
path: root/net/atm/signaling.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-09 11:32:08 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-10 07:43:50 +0200
commit800bb47e71cac00e98c822919174bb2e1d2e8071 (patch)
tree97de779c1497147d277e37bdb825b41ecf2744f1 /net/atm/signaling.c
parentatm: make atmdev_ops const (diff)
downloadlinux-800bb47e71cac00e98c822919174bb2e1d2e8071.tar.xz
linux-800bb47e71cac00e98c822919174bb2e1d2e8071.zip
net: atm: make atmdev_ops const
Make these const as they are only stored in the ops field of a atm_dev structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/signaling.c')
-rw-r--r--net/atm/signaling.c2
1 files changed, 1 insertions, 1 deletions
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)
read_unlock(&vcc_sklist_lock);
}
-static struct atmdev_ops sigd_dev_ops = {
+static const struct atmdev_ops sigd_dev_ops = {
.close = sigd_close,
.send = sigd_send
};