summaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/x25_asy.c
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2011-09-16 11:04:29 +0000
committerDavid S. Miller <davem@davemloft.net>2011-09-16 19:20:20 -0400
commitd97a077a15ae21e161e74def7762caa99200e4cf (patch)
tree2c017dad747ab7d1ddb5fc090d1d3b1038f0c33f /drivers/net/wan/x25_asy.c
parent026359bc6eddfdc2d2e684bf0b51691649b90f33 (diff)
downloadblackbird-op-linux-d97a077a15ae21e161e74def7762caa99200e4cf.tar.gz
blackbird-op-linux-d97a077a15ae21e161e74def7762caa99200e4cf.zip
wan: make LAPB callbacks const
This is compile tested only. Suggested by dumpster diving in PAX. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/x25_asy.c')
-rw-r--r--drivers/net/wan/x25_asy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wan/x25_asy.c b/drivers/net/wan/x25_asy.c
index 46ceb3ae9073..8a10bb730d5a 100644
--- a/drivers/net/wan/x25_asy.c
+++ b/drivers/net/wan/x25_asy.c
@@ -434,14 +434,13 @@ static void x25_asy_disconnected(struct net_device *dev, int reason)
netif_rx(skb);
}
-static struct lapb_register_struct x25_asy_callbacks = {
+static const struct lapb_register_struct x25_asy_callbacks = {
.connect_confirmation = x25_asy_connected,
.connect_indication = x25_asy_connected,
.disconnect_confirmation = x25_asy_disconnected,
.disconnect_indication = x25_asy_disconnected,
.data_indication = x25_asy_data_indication,
.data_transmit = x25_asy_data_transmit,
-
};
OpenPOWER on IntegriCloud