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>
This commit is contained in:
committed by
Mika Westerberg
parent
1cb3629383
commit
ef7e12078a
@@ -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 },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user