Message ID | 20220104105843.1730172-19-damien.lemoal@opensource.wdc.com |
---|---|
State | New |
Headers | show |
Series | Improve compile test coverage | expand |
On 1/4/22 11:58 AM, Damien Le Moal wrote: > 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> > --- > drivers/ata/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig > index 490f0856a271..8af5659a7676 100644 > --- a/drivers/ata/Kconfig > +++ b/drivers/ata/Kconfig > @@ -1162,7 +1162,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 > Reviewed-by: Hannes Reinecke <hare@suse.de> Cheers, Hannes
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 490f0856a271..8af5659a7676 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -1162,7 +1162,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
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> --- drivers/ata/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)