thunderbolt: Make tb_switch_find_cap() available to other files
authorRajmohan Mani <rajmohan.mani@intel.com>
Tue, 17 Dec 2019 12:33:42 +0000 (15:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:40:36 +0000 (15:40 +0100)
commitaa43a9dcf7fcb71f34689bc63cdfb3464d2bebbb
treee956b031cb32e116b09c7443a8f1a89a570c95b6
parent690ac0d20d4022bb3c7d84e0e3760eb40aa8028d
thunderbolt: Make tb_switch_find_cap() available to other files

We need to find switch capabilities in order to implement TMU support so
make it available to other files as well.

Signed-off-by: Rajmohan Mani <rajmohan.mani@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Link: https://lore.kernel.org/r/20191217123345.31850-7-mika.westerberg@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/cap.c
drivers/thunderbolt/tb.h