ata: libata-sata: Declare ata_ncq_sdev_attrs static
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Thu, 18 Nov 2021 05:31:41 +0000 (14:31 +0900)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Thu, 18 Nov 2021 05:34:25 +0000 (14:34 +0900)
commitcac7e8b5f5fa94e28d581fbb9e76cb1c0c7fd56a
tree92a6f0f432abc93bee975e9fe8a4bb556841e0d1
parent7c5f641a5914ce0303b06bcfcd7674ee64aeebe9
ata: libata-sata: Declare ata_ncq_sdev_attrs static

Since ata_ncq_sdev_attrs is a local struct, declare it static. This
avoids a sparse warning at compile time.

Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/libata-sata.c