diff options
author | Alexey Gladkov <legion@kernel.org> | 2025-09-18 11:05:49 +0300 |
---|---|---|
committer | Nathan Chancellor <nathan@kernel.org> | 2025-09-24 19:10:44 +0300 |
commit | b88f88c26705ad436ff9675258f76082dd43996a (patch) | |
tree | e04a7bab66bb8ad4ac957055b6f3dd294b23c61b /drivers/gpu/drm/amd/amdgpu/amdgpu_ip.c | |
parent | 39cfd5b12160be4f57df1c3ba60139741c827616 (diff) | |
download | linux-b88f88c26705ad436ff9675258f76082dd43996a.tar.xz |
scsi: Always define blogic_pci_tbl structure
The blogic_pci_tbl structure is used by the MODULE_DEVICE_TABLE macro.
There is no longer a need to protect it with the MODULE condition, since
this no longer causes the compiler to warn about an unused variable.
To avoid warnings when -Wunused-const-variable option is used, mark it
as __maybe_unused for such configuration.
Cc: Khalid Aziz <khalid@gonehiking.org>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org
Suggested-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Alexey Gladkov <legion@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://patch.msgid.link/fd8e30de07de79a4923ae967eaee5ba2f2fcef00.1758182101.git.legion@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ip.c')
0 files changed, 0 insertions, 0 deletions