ata: fix Calxeda Highbank SATA driver dependencies
PATCH 1/1 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 <[email protected]>
Cc Rob Herring <[email protected]>
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
--- drivers/ata/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/ata/Kconfig +1 -0
@@ -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.
Tejun Heo
AppliedQuoted 9 lines · Bartlomiej Zolnierkiewicz
Make
sata_highbankhost driver depend onARCH_HIGHBANKconfig 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 ifCOMPILE_TESTconfig option is set.Cc Mark Langsdorf <[email protected]>Cc Rob Herring <[email protected]>Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
Applied to libata/for-3.15.
Thanks.
Signature · 1 line
tejun