summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-07-02 10:07:50 +0200
committerMika Westerberg <mika.westerberg@linux.intel.com>2020-07-02 13:50:11 +0200
commitef7e12078ab832c72315adcfa05e7a9498a5e109 (patch)
treed5247110db47723518e00ac5a69c836d4f66ad59 /drivers/thunderbolt
parentthunderbolt: Add support for authenticate on disconnect (diff)
downloadlinux-ef7e12078ab832c72315adcfa05e7a9498a5e109.tar.xz
linux-ef7e12078ab832c72315adcfa05e7a9498a5e109.zip
thunderbolt: Fix old style declaration warning
Fix gcc build warning: drivers/thunderbolt/quirks.c:21:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] 21 | const static struct tb_quirk tb_quirks[] = { | ^~~~~ Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt')
-rw-r--r--drivers/thunderbolt/quirks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thunderbolt/quirks.c b/drivers/thunderbolt/quirks.c
index 0525f59220ae..7eac3e0f90a2 100644
--- a/drivers/thunderbolt/quirks.c
+++ b/drivers/thunderbolt/quirks.c
@@ -18,7 +18,7 @@ struct tb_quirk {
void (*hook)(struct tb_switch *sw);
};
-const static struct tb_quirk tb_quirks[] = {
+static const struct tb_quirk tb_quirks[] = {
/* Dell WD19TB supports self-authentication on unplug */
{ 0x00d4, 0xb070, quirk_force_power_link },
};