scsi: core: Make SCSI_MOD depend on BLOCK for cleaner .config files
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Mon, 19 Sep 2022 06:01:12 +0000 (08:01 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 25 Sep 2022 16:46:59 +0000 (12:46 -0400)
commit3d217b9ac532571335e69e64acf03a307b7acaf3
tree9bbe6748f9966324e24c94b1c7c5d159497da817
parent1a77dd1c2bb5d4a58c16d198cf593720787c02e4
scsi: core: Make SCSI_MOD depend on BLOCK for cleaner .config files

SCSI_MOD is a helper config symbol for configuring RAID_ATTRS properly,
i.e., RAID_ATTRS needs to be m when SCSI=m.

This helper config symbol SCSI_MOD still shows up even in kernel
configurations that do not select the block subsystem and where SCSI is not
even a configuration option mentioned and selectable.

Make this SCSI_MOD depend on BLOCK, so that it only shows up when it is
slightly relevant in the kernel configuration.

Link: https://lore.kernel.org/r/20220919060112.24802-1-lukas.bulwahn@gmail.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/Kconfig