mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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>
This commit is contained in:
committed by
David S. Miller
parent
c3d0dac693
commit
78ebb0d00b
@@ -137,7 +137,7 @@ void rtnl_af_register(struct rtnl_af_ops *ops);
|
||||
void rtnl_af_unregister(struct rtnl_af_ops *ops);
|
||||
|
||||
struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]);
|
||||
struct net_device *rtnl_create_link(struct net *net, char *ifname,
|
||||
struct net_device *rtnl_create_link(struct net *net, const char *ifname,
|
||||
unsigned char name_assign_type,
|
||||
const struct rtnl_link_ops *ops,
|
||||
struct nlattr *tb[]);
|
||||
|
Reference in New Issue
Block a user