team: add macro MODULE_ALIAS_TEAM_MODE for team mode alias
authorZhang Shengju <zhangshengju@cmss.chinamobile.com>
Thu, 1 Jun 2017 07:37:02 +0000 (15:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jun 2017 14:20:49 +0000 (10:20 -0400)
commit3a5f8997dc643a0e0e9a0895c2214b21e5e774a2
tree391b2b1fe264023cacc662cb662d448672fdba19
parent0c34ca478ad5fa3a0abae5eae288afea422ddde5
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>
drivers/net/team/team_mode_activebackup.c
drivers/net/team/team_mode_broadcast.c
drivers/net/team/team_mode_loadbalance.c
drivers/net/team/team_mode_random.c
drivers/net/team/team_mode_roundrobin.c
include/linux/if_team.h