>From 9f04e51293b130474504216a477bb2a73cbf59e1 Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Thu, 22 Mar 2012 22:29:11 +0200 Subject: [PATCH] ata: prefer ata drivers over ide drivers when both are built Currently the old IDE drivers are preferred over ATA drivers when both are built, since ide/ is listed first in drivers/Makefile and therefore the IDE drivers end up before ATA drivers in modules.order which is used by depmod/modprobe for module ordering. Change it so that ATA drivers are preferred over IDE driver by moving the ide/ entry under ata/ in drivers/Makefile. Signed-off-by: Anssi Hannula --- drivers/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/Makefile b/drivers/Makefile index 795d0ca..ff3c239 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -69,10 +69,10 @@ obj-$(CONFIG_LIBNVDIMM) += nvdimm/ obj-$(CONFIG_DMA_SHARED_BUFFER) += dma-buf/ obj-$(CONFIG_NUBUS) += nubus/ obj-y += macintosh/ -obj-$(CONFIG_IDE) += ide/ obj-$(CONFIG_SCSI) += scsi/ obj-y += nvme/ obj-$(CONFIG_ATA) += ata/ +obj-$(CONFIG_IDE) += ide/ obj-$(CONFIG_TARGET_CORE) += target/ obj-$(CONFIG_MTD) += mtd/ obj-$(CONFIG_SPI) += spi/