diff options
author | Thomas Graf <tgraf@suug.ch> | 2015-04-09 19:45:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-10 15:42:40 -0400 |
commit | 78ebb0d00b49125ea03a1adcaa4db39de38be41c (patch) | |
tree | b3f5995519eb82c2fd9c0877f0bea97cb33ae49f /include/net/rtnetlink.h | |
parent | c3d0dac6935e388547d7b7721e80b9c996eb90a1 (diff) |
rtnetlink: Mark name argument of rtnl_create_link() const
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/rtnetlink.h')
-rw-r--r-- | include/net/rtnetlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h index 6c6d5393fc34..343d922d15c2 100644 --- a/include/net/rtnetlink.h +++ b/include/net/rtnetlink.h | |||
@@ -137,7 +137,7 @@ void rtnl_af_register(struct rtnl_af_ops *ops); | |||
137 | void rtnl_af_unregister(struct rtnl_af_ops *ops); | 137 | void rtnl_af_unregister(struct rtnl_af_ops *ops); |
138 | 138 | ||
139 | struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]); | 139 | struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]); |
140 | struct net_device *rtnl_create_link(struct net *net, char *ifname, | 140 | struct net_device *rtnl_create_link(struct net *net, const char *ifname, |
141 | unsigned char name_assign_type, | 141 | unsigned char name_assign_type, |
142 | const struct rtnl_link_ops *ops, | 142 | const struct rtnl_link_ops *ops, |
143 | struct nlattr *tb[]); | 143 | struct nlattr *tb[]); |