diff options
author | Jiri Pirko <jpirko@redhat.com> | 2012-06-19 05:54:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-19 15:00:22 -0700 |
commit | 0402788a6cda4e204a805e83eaaff64fef9e4418 (patch) | |
tree | d5d4401b08f637efdd5b3c2b17c20d7a678beefa /drivers/net/team/team_mode_activebackup.c | |
parent | 3879d4e3977329607a2a8042483140af3581b5c3 (diff) | |
download | linux-0402788a6cda4e204a805e83eaaff64fef9e4418.tar.gz linux-0402788a6cda4e204a805e83eaaff64fef9e4418.tar.bz2 linux-0402788a6cda4e204a805e83eaaff64fef9e4418.zip |
team: make team_mode struct const
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/team/team_mode_activebackup.c')
-rw-r--r-- | drivers/net/team/team_mode_activebackup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/team/team_mode_activebackup.c b/drivers/net/team/team_mode_activebackup.c index fd6bd03aaa89..acd925f070b5 100644 --- a/drivers/net/team/team_mode_activebackup.c +++ b/drivers/net/team/team_mode_activebackup.c @@ -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), |