diff options
author | Jiri Pirko <jpirko@redhat.com> | 2012-06-19 01:54:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-19 18:00:22 -0400 |
commit | 0402788a6cda4e204a805e83eaaff64fef9e4418 (patch) | |
tree | d5d4401b08f637efdd5b3c2b17c20d7a678beefa /include/linux/if_team.h | |
parent | 3879d4e3977329607a2a8042483140af3581b5c3 (diff) |
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 { | |||
105 | }; | 105 | }; |
106 | 106 | ||
107 | struct team_mode { | 107 | struct team_mode { |
108 | struct list_head list; | ||
109 | const char *kind; | 108 | const char *kind; |
110 | struct module *owner; | 109 | struct module *owner; |
111 | size_t priv_size; | 110 | size_t priv_size; |
@@ -178,8 +177,8 @@ extern int team_options_register(struct team *team, | |||
178 | extern void team_options_unregister(struct team *team, | 177 | extern void team_options_unregister(struct team *team, |
179 | const struct team_option *option, | 178 | const struct team_option *option, |
180 | size_t option_count); | 179 | size_t option_count); |
181 | extern int team_mode_register(struct team_mode *mode); | 180 | extern int team_mode_register(const struct team_mode *mode); |
182 | extern int team_mode_unregister(struct team_mode *mode); | 181 | extern void team_mode_unregister(const struct team_mode *mode); |
183 | 182 | ||
184 | #endif /* __KERNEL__ */ | 183 | #endif /* __KERNEL__ */ |
185 | 184 | ||