summaryrefslogtreecommitdiff
path: root/drivers/thunderbolt
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2023-10-24 03:43:30 +0300
committerMika Westerberg <mika.westerberg@linux.intel.com>2023-10-24 07:49:17 +0300
commita558892b3456d44f2a89d238f5d650f0574fa3b2 (patch)
treed169d7fb197c4b197a73bc3d7701a3d393491398 /drivers/thunderbolt
parent3e36528c1127b20492ffaea53930bcc3df46a718 (diff)
downloadlinux-a558892b3456d44f2a89d238f5d650f0574fa3b2.tar.xz
thunderbolt: Fix one kernel-doc comment
Fix a spelling errors in kernel doc comment, silence the warning: drivers/thunderbolt/tb.c:760: warning: expecting prototype for tb_maximum_banwidth(). Prototype was for tb_maximum_bandwidth() instead Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7048 Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt')
-rw-r--r--drivers/thunderbolt/tb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thunderbolt/tb.c b/drivers/thunderbolt/tb.c
index 664f8e89f16d..f250a6788b6c 100644
--- a/drivers/thunderbolt/tb.c
+++ b/drivers/thunderbolt/tb.c
@@ -739,7 +739,7 @@ static bool tb_asym_supported(struct tb_port *src_port, struct tb_port *dst_port
}
/**
- * tb_maximum_banwidth() - Maximum bandwidth over a single link
+ * tb_maximum_bandwidth() - Maximum bandwidth over a single link
* @tb: Domain structure
* @src_port: Source protocol adapter
* @dst_port: Destination protocol adapter