summaryrefslogtreecommitdiffstats
path: root/include/linux/if_pppox.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-09-21 06:43:54 +0000
committerDavid S. Miller <davem@davemloft.net>2010-09-21 18:04:47 -0700
commit756e64a0b106f1a2ca96889c39ea0d48131105c0 (patch)
treeaab1079dc10deebcdc0dfeaf6e009f9371131668 /include/linux/if_pppox.h
parenta9478e386165477504916094ae5efb073a44fd9f (diff)
downloadlinux-stable-756e64a0b106f1a2ca96889c39ea0d48131105c0.tar.gz
linux-stable-756e64a0b106f1a2ca96889c39ea0d48131105c0.tar.bz2
linux-stable-756e64a0b106f1a2ca96889c39ea0d48131105c0.zip
net: constify some ppp/pptp structs
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_pppox.h')
-rw-r--r--include/linux/if_pppox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/if_pppox.h b/include/linux/if_pppox.h
index 29bcd55851eb..397921b09ef9 100644
--- a/include/linux/if_pppox.h
+++ b/include/linux/if_pppox.h
@@ -204,7 +204,7 @@ struct pppox_proto {
struct module *owner;
};
-extern int register_pppox_proto(int proto_num, struct pppox_proto *pp);
+extern int register_pppox_proto(int proto_num, const struct pppox_proto *pp);
extern void unregister_pppox_proto(int proto_num);
extern void pppox_unbind_sock(struct sock *sk);/* delete ppp-channel binding */
extern int pppox_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);