team: make team_mode struct const
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
3879d4e397
commit
0402788a6c
@@ -108,7 +108,7 @@ static const struct team_mode_ops ab_mode_ops = {
|
||||
.port_leave = ab_port_leave,
|
||||
};
|
||||
|
||||
static struct team_mode ab_mode = {
|
||||
static const struct team_mode ab_mode = {
|
||||
.kind = "activebackup",
|
||||
.owner = THIS_MODULE,
|
||||
.priv_size = sizeof(struct ab_priv),
|
||||
|
Reference in New Issue
Block a user