ata: pata_cs5535: add compile test support
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 4 Jan 2022 06:19:30 +0000 (15:19 +0900)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Fri, 14 Jan 2022 06:17:17 +0000 (15:17 +0900)
Add Kconfig dependendy on X86_64 && COMPILE_TEST to allow compile tests
with configs that do not have X86_32 enabled on X86_64 hosts.

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

index 8e211b21f48fb7210023731009d4d556b143e621..2c381c59357ba464bffde587db7ee35dba12d33b 100644 (file)
@@ -637,7 +637,7 @@ config PATA_CS5530
 
 config PATA_CS5535
        tristate "CS5535 PATA support (Experimental)"
-       depends on PCI && X86_32
+       depends on PCI && (X86_32 || (X86_64 && COMPILE_TEST))
        help
          This option enables support for the NatSemi/AMD CS5535
          companion chip used with the Geode processor family.