diff options
author | Andreas Noever <andreas.noever@gmail.com> | 2014-06-03 22:04:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-19 23:07:47 +0200 |
commit | ca389f716f6140d5349583a716bc629d63b06b1f (patch) | |
tree | ee992c95fce4c62d721d1df9c55477b7d82802a4 /drivers/thunderbolt/tb.h | |
parent | thunderbolt: Add thunderbolt capability handling (diff) | |
download | linux-ca389f716f6140d5349583a716bc629d63b06b1f.tar.xz linux-ca389f716f6140d5349583a716bc629d63b06b1f.zip |
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 */ }; /** |