diff options
| author | Arnd Bergmann <[email protected]> | 2024-04-03 08:06:48 +0000 |
|---|---|---|
| committer | Damien Le Moal <[email protected]> | 2024-04-04 02:34:02 +0000 |
| commit | 3137b83a90646917c90951d66489db466b4ae106 (patch) | |
| tree | 58a1b35fa023ea7e477ce9d9e7f4558c3ec4e95e /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | ata: ahci_st: Remove an unused field in struct st_ahci_drv_data (diff) | |
| download | kernel-3137b83a90646917c90951d66489db466b4ae106.tar.gz kernel-3137b83a90646917c90951d66489db466b4ae106.zip | |
ata: sata_mv: Fix PCI device ID table declaration compilation warning
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: 7bb3c5290ca0 ("sata_mv: Remove PCI dependency")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions
