ata: fix R-Car SATA driver dependencies
PATCH 1/1 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 <[email protected]>
Cc Magnus Damm <[email protected]>
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
--- drivers/ata/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/ata/Kconfig +1 -0
@@ -298,6 +298,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.
Tejun Heo
AppliedQuoted 9 lines · Bartlomiej Zolnierkiewicz
Make
sata_rcarhost driver depend onARCH_SHMOBILEconfig 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 ifCOMPILE_TESTconfig option is set.Cc Simon Horman <[email protected]>Cc Magnus Damm <[email protected]>Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
Applied to libata/for-3.15.
Thanks.
Signature · 1 line
tejun