diff options
author | Andreas Noever <andreas.noever@gmail.com> | 2014-06-04 00:04:04 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-20 01:07:47 +0400 |
commit | ca389f716f6140d5349583a716bc629d63b06b1f (patch) | |
tree | ee992c95fce4c62d721d1df9c55477b7d82802a4 /drivers/thunderbolt/tb.h | |
parent | e2b8785ed312dad3a18279a3e88435fc269658c1 (diff) | |
download | linux-ca389f716f6140d5349583a716bc629d63b06b1f.tar.xz |
thunderbolt: Enable plug events
Thunderbolt switches have a plug events capability. This patch adds the
tb_plug_events_active method and uses it to activate plug events during
switch allocation.
Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thunderbolt/tb.h')
-rw-r--r-- | drivers/thunderbolt/tb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thunderbolt/tb.h b/drivers/thunderbolt/tb.h index 38e4c23c10fd..af123c4045e3 100644 --- a/drivers/thunderbolt/tb.h +++ b/drivers/thunderbolt/tb.h @@ -19,6 +19,7 @@ struct tb_switch { struct tb_regs_switch_header config; struct tb_port *ports; struct tb *tb; + int cap_plug_events; /* offset, zero if not found */ }; /** |