ahci: st: Only build for ST-Micro h/w
authorLee Jones <lee.jones@linaro.org>
Wed, 12 Mar 2014 12:39:41 +0000 (12:39 +0000)
committerTejun Heo <tj@kernel.org>
Fri, 14 Mar 2014 13:21:05 +0000 (09:21 -0400)
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@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/Kconfig

index d2209e4f2dfe18825c824adb09b2d7e4711da340..4c338b27cb89911859cc8fa20f73d1b9d5e1aa96 100644 (file)
@@ -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.