]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ata: fix Calxeda Highbank SATA driver dependencies
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Wed, 26 Mar 2014 15:39:50 +0000 (16:39 +0100)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:23 +0000 (21:17 -0600)
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@calxeda.com>
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
(cherry picked from commit 0b99f8648eb1814d787db3981ad93e6bc343b3f6)

drivers/ata/Kconfig

index d1117646b156123f522bc715b28c11ece14fb403..f7cb597f67e0fc2ed5b6b64c281ea658aff23a8b 100644 (file)
@@ -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.