From: Bartlomiej Zolnierkiewicz Date: Wed, 26 Mar 2014 14:19:23 +0000 (+0100) Subject: ata: fix R-Car SATA driver dependencies X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=7596d93d8dfa7a508ca52c7d9b7db763eb5b0715;p=deliverable%2Flinux.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 --- diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 6e3be7d78adc..f4d9a6abbcf6 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -305,6 +305,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.