diff options
author | Mitchell Blank Jr <mitch@sfgoth.com> | 2008-06-17 19:20:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-17 19:20:06 -0400 |
commit | 61c33e012964ce358b42d2a1e9cd309af5dab02b (patch) | |
tree | e76ac9b1e61a998def99f0f8f7fa4688fab26494 /net/atm/addr.h | |
parent | df3bc8bd8f8fd17e9b22859d82af38fa702e75b7 (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.h | 4 |
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 @@ | |||
10 | #include <linux/atmdev.h> | 10 | #include <linux/atmdev.h> |
11 | 11 | ||
12 | void atm_reset_addr(struct atm_dev *dev, enum atm_addr_type_t type); | 12 | void atm_reset_addr(struct atm_dev *dev, enum atm_addr_type_t type); |
13 | int atm_add_addr(struct atm_dev *dev, struct sockaddr_atmsvc *addr, | 13 | int atm_add_addr(struct atm_dev *dev, const struct sockaddr_atmsvc *addr, |
14 | enum atm_addr_type_t type); | 14 | enum atm_addr_type_t type); |
15 | int atm_del_addr(struct atm_dev *dev, struct sockaddr_atmsvc *addr, | 15 | int atm_del_addr(struct atm_dev *dev, const struct sockaddr_atmsvc *addr, |
16 | enum atm_addr_type_t type); | 16 | enum atm_addr_type_t type); |
17 | int atm_get_addr(struct atm_dev *dev, struct sockaddr_atmsvc __user *buf, | 17 | int atm_get_addr(struct atm_dev *dev, struct sockaddr_atmsvc __user *buf, |
18 | size_t size, enum atm_addr_type_t type); | 18 | size_t size, enum atm_addr_type_t type); |