Commit b88f88c
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 <[email protected]>
Cc: Martin K. Petersen <[email protected]>
Cc: [email protected]
Suggested-by: James Bottomley <[email protected]>
Signed-off-by: Alexey Gladkov <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Acked-by: Martin K. Petersen <[email protected]>
Link: https://patch.msgid.link/fd8e30de07de79a4923ae967eaee5ba2f2fcef00.1758182101.git.legion@kernel.org
Signed-off-by: Nathan Chancellor <[email protected]>1 parent 39cfd5b commit b88f88c
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3715 | 3715 | | |
3716 | 3716 | | |
3717 | 3717 | | |
3718 | | - | |
3719 | 3718 | | |
3720 | 3719 | | |
3721 | 3720 | | |
| |||
3725 | 3724 | | |
3726 | 3725 | | |
3727 | 3726 | | |
3728 | | - | |
| 3727 | + | |
3729 | 3728 | | |
3730 | 3729 | | |
3731 | 3730 | | |
3732 | 3731 | | |
3733 | 3732 | | |
3734 | | - | |
3735 | 3733 | | |
3736 | 3734 | | |
3737 | 3735 | | |
| |||
0 commit comments