]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
thunderbolt: Make is_gen4_link() available to the rest of the driver
authorGil Fine <gil.fine@linux.intel.com>
Tue, 1 Oct 2024 17:31:02 +0000 (17:31 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:30:00 +0000 (16:30 +0200)
commit7b85d751081be8d3c3b8b5b2c12ce7eac3a06e04
tree732dd83b6570d5a9330704d04667c62bad1fad7c
parent22081f72076449ca7ef3e802cc2c498206817f50
thunderbolt: Make is_gen4_link() available to the rest of the driver

[ Upstream commit aa673d606078da36ebc379f041c794228ac08cb5 ]

Rework the function to return the link generation, update the name to
tb_port_get_link_generation(), and make available to the rest of the
driver. This is needed in the subsequent patches.

Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Qin Wan <qin.wan@hp.com>
Signed-off-by: Alexandru Gagniuc <alexandru.gagniuc@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.h