mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 09:51:00 +07:00
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:
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 },
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user