[PATCH 4/5] ahci: st: Only build for ST-Micro h/w

From: Lee Jones
Date: Wed Mar 12 2014 - 08:40:34 EST


This device is designed specifically to run on ST-Microelectronics'
hardware. To ensure no attempts are made to run on anything incompatible
we add a dependency on ST architecture

Suggested-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>
Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
---
drivers/ata/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index f1adb4b..9b4feb7 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -100,6 +100,7 @@ config SATA_AHCI_PLATFORM
config AHCI_ST
tristate "ST AHCI SATA support"
depends on SATA_AHCI_PLATFORM
+ depends on ARCH_STI
help
This option enables support for ST AHCI SATA controller.

--
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/