From: Bartlomiej Zolnierkiewicz Date: Wed, 26 Mar 2014 14:19:23 +0000 (+0100) Subject: ata: fix R-Car SATA driver dependencies X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f951035250b26a9a92e63ebf34e5dacb04428a91;p=karo-tx-linux.git ata: fix R-Car SATA driver dependencies Make sata_rcar host driver depend on ARCH_SHMOBILE config option as Renesas R-Car SATA support is specific to Renesas SoCs and the driver to work requires suitable device tree node (or platform device) to be defined. Additionally allow the driver build if COMPILE_TEST config option is set. Cc: Simon Horman Cc: Magnus Damm Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Tejun Heo (cherry picked from commit 7596d93d8dfa7a508ca52c7d9b7db763eb5b0715) --- diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 5da0b1cc0cf2..d1117646b156 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -306,6 +306,7 @@ config SATA_PROMISE config SATA_RCAR tristate "Renesas R-Car SATA support" + depends on ARCH_SHMOBILE || COMPILE_TEST help This option enables support for Renesas R-Car Serial ATA.