mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Johannes Thumshirn <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
1f460b63d4
commit
2a750166a5
5 changed files with 17 additions and 13 deletions
|
|
@ -1,13 +1,2 @@
|
|||
# Makefile for the kernel cdrom device drivers.
|
||||
#
|
||||
# 30 Jan 1998, Michael Elizabeth Chastain, <mailto:[email protected]>
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue