Files
linux/drivers
Arnd Bergmann cbd080c308 ata: sata_mv: Fix PCI device ID table declaration compilation warning
[ Upstream commit 3137b83a90646917c90951d66489db466b4ae106 ]

Building with W=1 shows a warning for an unused variable when CONFIG_PCI
is diabled:

drivers/ata/sata_mv.c:790:35: error: unused variable 'mv_pci_tbl' [-Werror,-Wunused-const-variable]
static const struct pci_device_id mv_pci_tbl[] = {

Move the table into the same block that containsn the pci_driver
definition.

Fixes: 7bb3c5290c ("sata_mv: Remove PCI dependency")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-10 16:36:01 +02:00
..
2023-08-22 15:50:57 +02:00
2023-08-24 16:20:30 -07:00
2024-04-03 15:28:28 +02:00
2024-04-10 16:35:45 +02:00
2024-04-03 15:28:43 +02:00
2023-11-20 11:59:19 +01:00
2024-02-05 20:14:15 +00:00
2024-04-03 15:28:52 +02:00
2024-04-10 16:35:42 +02:00
2024-01-20 11:51:48 +01:00
2024-03-26 18:20:10 -04:00
2023-08-21 13:27:44 +02:00