summaryrefslogtreecommitdiffstats
path: root/drivers/net/team/team_mode_roundrobin.c
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2012-06-19 05:54:03 +0000
committerDavid S. Miller <davem@davemloft.net>2012-06-19 15:00:22 -0700
commit0402788a6cda4e204a805e83eaaff64fef9e4418 (patch)
treed5d4401b08f637efdd5b3c2b17c20d7a678beefa /drivers/net/team/team_mode_roundrobin.c
parent3879d4e3977329607a2a8042483140af3581b5c3 (diff)
downloadtalos-obmc-linux-0402788a6cda4e204a805e83eaaff64fef9e4418.tar.gz
talos-obmc-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_roundrobin.c')
-rw-r--r--drivers/net/team/team_mode_roundrobin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/team/team_mode_roundrobin.c b/drivers/net/team/team_mode_roundrobin.c
index 6abfbdc96be5..daafca2b2da4 100644
--- a/drivers/net/team/team_mode_roundrobin.c
+++ b/drivers/net/team/team_mode_roundrobin.c
@@ -81,7 +81,7 @@ static const struct team_mode_ops rr_mode_ops = {
.port_change_mac = rr_port_change_mac,
};
-static struct team_mode rr_mode = {
+static const struct team_mode rr_mode = {
.kind = "roundrobin",
.owner = THIS_MODULE,
.priv_size = sizeof(struct rr_priv),
OpenPOWER on IntegriCloud