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
@@ -148,7 +148,7 @@ static const struct team_mode_ops lb_mode_ops = {
|
||||
.transmit = lb_transmit,
|
||||
};
|
||||
|
||||
static struct team_mode lb_mode = {
|
||||
static const struct team_mode lb_mode = {
|
||||
.kind = "loadbalance",
|
||||
.owner = THIS_MODULE,
|
||||
.priv_size = sizeof(struct lb_priv),
|
||||
|
Reference in New Issue
Block a user