diff options
author | Andreas Noever <andreas.noever@gmail.com> | 2014-06-20 15:42:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-20 16:06:01 -0400 |
commit | 7f2d5f7bc529114c2e67520427be6ebac694e78f (patch) | |
tree | d40e2a216c35862e89bfd74c1d5c81637cf5561f | |
parent | 801dba53fef8bfc2f1424c33914a41810594bde2 (diff) |
thunderbolt: Fix header declaration of tb_find_cap
tb_find_cap in cap.c takes an enum tb_cap and not an u32. Fix the
declaration in tb.h.
Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/thunderbolt/tb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thunderbolt/tb.h b/drivers/thunderbolt/tb.h index 18ade5e33ae9..8b0d7cf2b6d6 100644 --- a/drivers/thunderbolt/tb.h +++ b/drivers/thunderbolt/tb.h | |||
@@ -233,7 +233,7 @@ int tb_wait_for_port(struct tb_port *port, bool wait_if_unplugged); | |||
233 | int tb_port_add_nfc_credits(struct tb_port *port, int credits); | 233 | int tb_port_add_nfc_credits(struct tb_port *port, int credits); |
234 | int tb_port_clear_counter(struct tb_port *port, int counter); | 234 | int tb_port_clear_counter(struct tb_port *port, int counter); |
235 | 235 | ||
236 | int tb_find_cap(struct tb_port *port, enum tb_cfg_space space, u32 value); | 236 | int tb_find_cap(struct tb_port *port, enum tb_cfg_space space, enum tb_cap cap); |
237 | 237 | ||
238 | struct tb_path *tb_path_alloc(struct tb *tb, int num_hops); | 238 | struct tb_path *tb_path_alloc(struct tb *tb, int num_hops); |
239 | void tb_path_free(struct tb_path *path); | 239 | void tb_path_free(struct tb_path *path); |