[PATCH] ata: fix Calxeda Highbank SATA driver dependencies

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Wed Mar 26 11:39:50 EDT 2014


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 <mark.langsdorf at calxeda.com>
Cc: Rob Herring <robh at kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
---
 drivers/ata/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Index: b/drivers/ata/Kconfig
===================================================================
--- a/drivers/ata/Kconfig	2014-03-26 15:32:57.455119357 +0100
+++ b/drivers/ata/Kconfig	2014-03-26 15:49:59.919101924 +0100
@@ -264,6 +264,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.




More information about the linux-arm-kernel mailing list