diff options
author | Zhang Shengju <zhangshengju@cmss.chinamobile.com> | 2017-06-01 15:37:02 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-02 10:20:49 -0400 |
commit | 3a5f8997dc643a0e0e9a0895c2214b21e5e774a2 (patch) | |
tree | 391b2b1fe264023cacc662cb662d448672fdba19 /drivers/net/team/team_mode_loadbalance.c | |
parent | 0c34ca478ad5fa3a0abae5eae288afea422ddde5 (diff) | |
download | linux-3a5f8997dc643a0e0e9a0895c2214b21e5e774a2.tar.gz linux-3a5f8997dc643a0e0e9a0895c2214b21e5e774a2.tar.bz2 linux-3a5f8997dc643a0e0e9a0895c2214b21e5e774a2.zip |
team: add macro MODULE_ALIAS_TEAM_MODE for team mode alias
Add a new macro MODULE_ALIAS_TEAM_MODE to unify and simplify the
declaration of team mode alias.
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/team/team_mode_loadbalance.c')
-rw-r--r-- | drivers/net/team/team_mode_loadbalance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/team/team_mode_loadbalance.c b/drivers/net/team/team_mode_loadbalance.c index b228bea7931f..1468ddf424cc 100644 --- a/drivers/net/team/team_mode_loadbalance.c +++ b/drivers/net/team/team_mode_loadbalance.c @@ -695,4 +695,4 @@ module_exit(lb_cleanup_module); MODULE_LICENSE("GPL v2"); MODULE_AUTHOR("Jiri Pirko <jpirko@redhat.com>"); MODULE_DESCRIPTION("Load-balancing mode for team"); -MODULE_ALIAS("team-mode-loadbalance"); +MODULE_ALIAS_TEAM_MODE("loadbalance"); |