summaryrefslogtreecommitdiffstats
path: root/include/net/lapb.h
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2011-09-16 13:04:29 +0200
committerDavid S. Miller <davem@davemloft.net>2011-09-17 01:20:20 +0200
commitd97a077a15ae21e161e74def7762caa99200e4cf (patch)
tree2c017dad747ab7d1ddb5fc090d1d3b1038f0c33f /include/net/lapb.h
parentipv6: Send ICMPv6 RSes only when RAs are accepted (diff)
downloadlinux-d97a077a15ae21e161e74def7762caa99200e4cf.tar.xz
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 'include/net/lapb.h')
-rw-r--r--include/net/lapb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/lapb.h b/include/net/lapb.h
index 96cb5ddaa9f1..fd2bf572ee1d 100644
--- a/include/net/lapb.h
+++ b/include/net/lapb.h
@@ -95,7 +95,7 @@ struct lapb_cb {
struct sk_buff_head write_queue;
struct sk_buff_head ack_queue;
unsigned char window;
- struct lapb_register_struct callbacks;
+ const struct lapb_register_struct *callbacks;
/* FRMR control information */
struct lapb_frame frmr_data;