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:
Wei Yongjun 2020-07-02 16:07:50 +08:00 committed by Mika Westerberg
parent 1cb3629383
commit ef7e12078a

View File

@ -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 },
};