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 /include/linux/if_team.h | |
parent | 3879d4e3977329607a2a8042483140af3581b5c3 (diff) | |
download | linux-stable-0402788a6cda4e204a805e83eaaff64fef9e4418.tar.gz linux-stable-0402788a6cda4e204a805e83eaaff64fef9e4418.tar.bz2 linux-stable-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 'include/linux/if_team.h')
-rw-r--r-- | include/linux/if_team.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/if_team.h b/include/linux/if_team.h index 8185f57a9c7f..d45fcd5a188d 100644 --- a/include/linux/if_team.h +++ b/include/linux/if_team.h @@ -105,7 +105,6 @@ struct team_option { }; struct team_mode { - struct list_head list; const char *kind; struct module *owner; size_t priv_size; @@ -178,8 +177,8 @@ extern int team_options_register(struct team *team, extern void team_options_unregister(struct team *team, const struct team_option *option, size_t option_count); -extern int team_mode_register(struct team_mode *mode); -extern int team_mode_unregister(struct team_mode *mode); +extern int team_mode_register(const struct team_mode *mode); +extern void team_mode_unregister(const struct team_mode *mode); #endif /* __KERNEL__ */ |