diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-11-02 14:19:32 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-11-02 17:26:55 +0300 |
commit | c091fbe9a26ee116d99e2c0ed010afb957a10365 (patch) | |
tree | 1fcd735bdae1a337848c20ca305da77ce9531796 /drivers/scsi/Kconfig | |
parent | 2a750166a5bee7fda186c12269e37ba52b26c017 (diff) | |
download | linux-c091fbe9a26ee116d99e2c0ed010afb957a10365.tar.xz |
block: fix CDROM dependency on BLK_DEV
After the cdrom cleanup, I get randconfig warnings for some configurations:
warning: (BLK_DEV_IDECD && BLK_DEV_SR) selects CDROM which has unmet direct dependencies (BLK_DEV)
This adds an explicit BLK_DEV dependency for both drivers. The other
drivers that select 'CDROM' already have this and don't need a change.
Fixes: 2a750166a5be ("block: Rework drivers/cdrom/Makefile")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/Kconfig')
-rw-r--r-- | drivers/scsi/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index cca0b03c2ead..766955318005 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig @@ -130,7 +130,7 @@ config CHR_DEV_OSST config BLK_DEV_SR tristate "SCSI CDROM support" - depends on SCSI + depends on SCSI && BLK_DEV select CDROM ---help--- If you want to use a CD or DVD drive attached to your computer |