summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/Kconfig
diff options
context:
space:
mode:
authorBart Van Assche2017-10-30 17:02:19 +0100
committerJens Axboe2017-11-01 15:33:57 +0100
commit2a750166a5bee7fda186c12269e37ba52b26c017 (patch)
tree8582c8546c8d52f94685195c9b549cb7d5cb5a6f /drivers/scsi/Kconfig
parentblk-mq: don't restart queue when .get_budget returns BLK_STS_RESOURCE (diff)
downloadkernel-qcow2-linux-2a750166a5bee7fda186c12269e37ba52b26c017.tar.gz
kernel-qcow2-linux-2a750166a5bee7fda186c12269e37ba52b26c017.tar.xz
kernel-qcow2-linux-2a750166a5bee7fda186c12269e37ba52b26c017.zip
block: Rework drivers/cdrom/Makefile
Instead of referring from inside drivers/cdrom/Makefile to all the drivers that use this driver, let these drivers select the cdrom driver. This change makes the cdrom build code follow the approach that is used for most other drivers, namely refer from the higher layers to the lower layer instead of from the lower layer to the higher layers. Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/Kconfig')
-rw-r--r--drivers/scsi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index 41366339b950..cca0b03c2ead 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -131,6 +131,7 @@ config CHR_DEV_OSST
config BLK_DEV_SR
tristate "SCSI CDROM support"
depends on SCSI
+ select CDROM
---help---
If you want to use a CD or DVD drive attached to your computer
by SCSI, FireWire, USB or ATAPI, say Y and read the SCSI-HOWTO