ata: ahci_tegra: add compile test support
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 4 Jan 2022 06:08:01 +0000 (15:08 +0900)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Fri, 14 Jan 2022 06:17:16 +0000 (15:17 +0900)
Add Kconfig dependendy on COMPILE_TEST to allow compile tests with
configs that do not enable ARCH_TEGRA.

Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/ata/Kconfig

index 4da5e941012641827e429142e851e4c1364cc387..49ce1e0d19d73ab9a3b3b7271f593de2093a0c61 100644 (file)
@@ -246,7 +246,7 @@ config AHCI_SUNXI
 
 config AHCI_TEGRA
        tristate "NVIDIA Tegra AHCI SATA support"
-       depends on ARCH_TEGRA
+       depends on ARCH_TEGRA || COMPILE_TEST
        select SATA_HOST
        help
          This option enables support for the NVIDIA Tegra SoC's