ata: ahci_sunxi: add compile test support
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 4 Jan 2022 06:06:12 +0000 (15:06 +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_SUNXI.

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

index 830e781e50c3d8de7e89f0ad2bf18fa022dcacfa..4da5e941012641827e429142e851e4c1364cc387 100644 (file)
@@ -236,7 +236,7 @@ config AHCI_OCTEON
 
 config AHCI_SUNXI
        tristate "Allwinner sunxi AHCI SATA support"
-       depends on ARCH_SUNXI
+       depends on ARCH_SUNXI || COMPILE_TEST
        select SATA_HOST
        help
          This option enables support for the Allwinner sunxi SoC's