diff options
author | Jiri Pirko <jiri@mellanox.com> | 2019-04-25 15:59:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-26 01:52:02 -0400 |
commit | 8fb4bc6fd5bd5bab9a34581e45b00d9a041d1d71 (patch) | |
tree | fe8ff39dd4f4e5b18b885a949964439c0878d3a3 /drivers/net/netdevsim/netdevsim.h | |
parent | 5fc494225c1eb81309cc4c91f183cd30e4edb674 (diff) | |
download | linux-8fb4bc6fd5bd5bab9a34581e45b00d9a041d1d71.tar.gz linux-8fb4bc6fd5bd5bab9a34581e45b00d9a041d1d71.tar.bz2 linux-8fb4bc6fd5bd5bab9a34581e45b00d9a041d1d71.zip |
netdevsim: rename devlink.c to dev.c to contain per-dev(asic) items
The existing devlink.c code is going to be extended to represent asic
device on a bus. As this is about more than just devlink,
rename the file. Do appropriate prefix renaming alongside with that.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim/netdevsim.h')
-rw-r--r-- | drivers/net/netdevsim/netdevsim.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/netdevsim/netdevsim.h b/drivers/net/netdevsim/netdevsim.h index df50eb19715d..23d19b461873 100644 --- a/drivers/net/netdevsim/netdevsim.h +++ b/drivers/net/netdevsim/netdevsim.h @@ -154,8 +154,8 @@ enum nsim_resource_id { NSIM_RESOURCE_IPV6_FIB_RULES, }; -int nsim_devlink_init(struct netdevsim *ns); -void nsim_devlink_exit(struct netdevsim *ns); +int nsim_dev_init(struct netdevsim *ns); +void nsim_dev_exit(struct netdevsim *ns); struct nsim_fib_data *nsim_fib_create(void); void nsim_fib_destroy(struct nsim_fib_data *fib_data); |