summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt/switch.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2021-01-27 11:25:54 +0000
committerMika Westerberg <mika.westerberg@linux.intel.com>2021-01-28 13:57:06 +0300
commit2c2a2327bdb509c96737258ca6c91f176acc837d (patch)
tree8bc7d74fa029eaa91f80ddc1bffe7938412f483f /drivers/thunderbolt/switch.c
parenta27ea0dfc1cdac5f1e5e1cb45cc1d92b476adb75 (diff)
downloadlinux-2c2a2327bdb509c96737258ca6c91f176acc837d.tar.gz
linux-2c2a2327bdb509c96737258ca6c91f176acc837d.tar.bz2
linux-2c2a2327bdb509c96737258ca6c91f176acc837d.zip
thunderbolt: switch: Fix function name in the header
Fixes the following W=1 kernel build warning(s): drivers/thunderbolt/switch.c:1322: warning: expecting prototype for reset_switch(). Prototype was for tb_switch_reset() instead Cc: Andreas Noever <andreas.noever@gmail.com> Cc: Michael Jamet <michael.jamet@intel.com> Cc: Yehezkel Bernat <YehezkelShB@gmail.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/switch.c')
-rw-r--r--drivers/thunderbolt/switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thunderbolt/switch.c b/drivers/thunderbolt/switch.c
index 4fbc03199424..6ca3efba4520 100644
--- a/drivers/thunderbolt/switch.c
+++ b/drivers/thunderbolt/switch.c
@@ -1313,7 +1313,7 @@ static void tb_dump_switch(const struct tb *tb, const struct tb_switch *sw)
}
/**
- * reset_switch() - reconfigure route, enable and send TB_CFG_PKG_RESET
+ * tb_switch_reset() - reconfigure route, enable and send TB_CFG_PKG_RESET
* @sw: Switch to reset
*
* Return: Returns 0 on success or an error code on failure.