block: fix CDROM dependency on BLK_DEV
authorArnd Bergmann <arnd@arndb.de>
Thu, 2 Nov 2017 11:19:32 +0000 (12:19 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 2 Nov 2017 14:26:55 +0000 (08:26 -0600)
commitc091fbe9a26ee116d99e2c0ed010afb957a10365
tree1fcd735bdae1a337848c20ca305da77ce9531796
parent2a750166a5bee7fda186c12269e37ba52b26c017
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>
drivers/ide/Kconfig
drivers/scsi/Kconfig