thunderbolt: Setup control channel
authorAndreas Noever <andreas.noever@gmail.com>
Tue, 3 Jun 2014 20:04:00 +0000 (22:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 21:07:07 +0000 (14:07 -0700)
commitd6cc51cd1a4aed1d9e2dd66d643d729acb4be560
treea193e0c2807cf18e11c770392c71e51bafbe378a
parentf25bf6fcb1a83a149bc8b5285d33b48cbd47c7d7
thunderbolt: Setup control channel

Add struct tb which will contain our view of the thunderbolt bus.  For
now it just contains a pointer to the control channel and a workqueue
for hotplug events.

Add thunderbolt_alloc_and_start() and thunderbolt_shutdown_and_free()
which are responsible for setup and teardown of struct tb.

Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/Makefile
drivers/thunderbolt/nhi.c
drivers/thunderbolt/tb.c [new file with mode: 0644]
drivers/thunderbolt/tb.h [new file with mode: 0644]