From: Bartlomiej Zolnierkiewicz Date: Wed, 26 Mar 2014 15:39:50 +0000 (+0100) Subject: ata: fix Calxeda Highbank SATA driver dependencies X-Git-Tag: v4.14-rc1~7833^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b99f8648eb1814d787db3981ad93e6bc343b3f6;p=platform%2Fkernel%2Flinux-rpi.git ata: fix Calxeda Highbank SATA driver dependencies Make sata_highbank host driver depend on ARCH_HIGHBANK config option as Calxeda Highbank SATA support is specific to Calxeda Highbank SoCs and the driver to work requires suitable device tree node to be defined. Additionally allow the driver build if COMPILE_TEST config option is set. Cc: Mark Langsdorf Cc: Rob Herring Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Tejun Heo --- diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index f4d9a6ab..23f15f4 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -272,6 +272,7 @@ config SATA_DWC_VDEBUG config SATA_HIGHBANK tristate "Calxeda Highbank SATA support" + depends on ARCH_HIGHBANK || COMPILE_TEST help This option enables support for the Calxeda Highbank SoC's onboard SATA.