summaryrefslogtreecommitdiff
path: root/net/atm/addr.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/addr.h
parentdf3bc8bd8f8fd17e9b22859d82af38fa702e75b7 (diff)
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/addr.h')
-rw-r--r--net/atm/addr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/atm/addr.h b/net/atm/addr.h
index f39433ad45da..6837e9e7eb13 100644
--- a/net/atm/addr.h
+++ b/net/atm/addr.h
@@ -10,9 +10,9 @@
#include <linux/atmdev.h>
void atm_reset_addr(struct atm_dev *dev, enum atm_addr_type_t type);
-int atm_add_addr(struct atm_dev *dev, struct sockaddr_atmsvc *addr,
+int atm_add_addr(struct atm_dev *dev, const struct sockaddr_atmsvc *addr,
enum atm_addr_type_t type);
-int atm_del_addr(struct atm_dev *dev, struct sockaddr_atmsvc *addr,
+int atm_del_addr(struct atm_dev *dev, const struct sockaddr_atmsvc *addr,
enum atm_addr_type_t type);
int atm_get_addr(struct atm_dev *dev, struct sockaddr_atmsvc __user *buf,
size_t size, enum atm_addr_type_t type);