-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Bart Van Assche
authored and
Jens Axboe
committed
Nov 1, 2017
1 parent
1f460b6
commit 2a75016
Showing
5 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,2 @@ | ||
# Makefile for the kernel cdrom device drivers. | ||
# | ||
# 30 Jan 1998, Michael Elizabeth Chastain, <mailto:mec@shout.net> | ||
# Rewritten to use lists instead of if-statements. | ||
|
||
# Each configuration option enables a list of files. | ||
|
||
obj-$(CONFIG_BLK_DEV_IDECD) += cdrom.o | ||
obj-$(CONFIG_BLK_DEV_SR) += cdrom.o | ||
obj-$(CONFIG_PARIDE_PCD) += cdrom.o | ||
obj-$(CONFIG_CDROM_PKTCDVD) += cdrom.o | ||
|
||
obj-$(CONFIG_GDROM) += gdrom.o cdrom.o | ||
obj-$(CONFIG_CDROM) += cdrom.o | ||
obj-$(CONFIG_GDROM) += gdrom.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters