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>
This commit is contained in:

committed by
David S. Miller

parent
0c34ca478a
commit
3a5f8997dc
@@ -65,4 +65,4 @@ module_exit(rnd_cleanup_module);
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_AUTHOR("Jiri Pirko <jiri@resnulli.us>");
|
||||
MODULE_DESCRIPTION("Random mode for team");
|
||||
MODULE_ALIAS("team-mode-random");
|
||||
MODULE_ALIAS_TEAM_MODE("random");
|
||||
|
Reference in New Issue
Block a user