summaryrefslogtreecommitdiffstats
path: root/net/atm/lec.h
diff options
context:
space:
mode:
authorMitchell Blank Jr <mitch@sfgoth.com>2008-06-17 16:20:06 -0700
committerDavid S. Miller <davem@davemloft.net>2008-06-17 16:20:06 -0700
commit61c33e012964ce358b42d2a1e9cd309af5dab02b (patch)
treee76ac9b1e61a998def99f0f8f7fa4688fab26494 /net/atm/lec.h
parentdf3bc8bd8f8fd17e9b22859d82af38fa702e75b7 (diff)
downloadlinux-61c33e012964ce358b42d2a1e9cd309af5dab02b.tar.bz2
atm: use const where reasonable
From: Mitchell Blank Jr <mitch@sfgoth.com> Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/lec.h')
-rw-r--r--net/atm/lec.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/atm/lec.h b/net/atm/lec.h
index b41cda7ea1e1..0d376682c1a3 100644
--- a/net/atm/lec.h
+++ b/net/atm/lec.h
@@ -42,12 +42,12 @@ struct lecdatahdr_8025 {
*
*/
struct lane2_ops {
- int (*resolve) (struct net_device *dev, u8 *dst_mac, int force,
+ int (*resolve) (struct net_device *dev, const u8 *dst_mac, int force,
u8 **tlvs, u32 *sizeoftlvs);
- int (*associate_req) (struct net_device *dev, u8 *lan_dst,
- u8 *tlvs, u32 sizeoftlvs);
- void (*associate_indicator) (struct net_device *dev, u8 *mac_addr,
- u8 *tlvs, u32 sizeoftlvs);
+ int (*associate_req) (struct net_device *dev, const u8 *lan_dst,
+ const u8 *tlvs, u32 sizeoftlvs);
+ void (*associate_indicator) (struct net_device *dev, const u8 *mac_addr,
+ const u8 *tlvs, u32 sizeoftlvs);
};
/*