Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c091fbe9 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Jens Axboe
Browse files

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: 2a750166 ("block: Rework drivers/cdrom/Makefile")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 2a750166
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -117,6 +117,7 @@ config BLK_DEV_DELKIN

config BLK_DEV_IDECD
	tristate "Include IDE/ATAPI CDROM support"
	depends on BLK_DEV
	select IDE_ATAPI
	select CDROM
	---help---
+1 −1
Original line number Diff line number Diff line
@@ -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