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

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

index be812fe727fce03e8d769e4f7cf7a7b14ab876be..cb54631fd950d3aeb237515a0a3ab49937da9f9d 100644 (file)
@@ -1145,7 +1145,7 @@ config PATA_RZ1000
 
 config PATA_SAMSUNG_CF
        tristate "Samsung SoC PATA support"
-       depends on SAMSUNG_DEV_IDE
+       depends on SAMSUNG_DEV_IDE || COMPILE_TEST
        select PATA_TIMINGS
        help
          This option enables basic support for Samsung's S3C/S5P board