Re: [PATCH 15/17] thermal: st: allow compile test

From: Lee Jones
Date: Fri Sep 11 2015 - 05:23:46 EST


On Wed, 09 Sep 2015, Eduardo Valentin wrote:

> Adding COMPILE_TEST flag to st driver to facilitate
> maintenance.
>
> Cc: Zhang Rui <rui.zhang@xxxxxxxxx>
> Cc: Nicolas Boichat <drinkcat@xxxxxxxxxxxx>
> Cc: Mark Brown <broonie@xxxxxxxxxx>
> Cc: Fabian Frederick <fabf@xxxxxxxxx>
> Cc: Wolfram Sang <wsa@xxxxxxxxxxxxx>
> Cc: Lee Jones <lee.jones@xxxxxxxxxx>
> Cc: linux-pm@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Signed-off-by: Eduardo Valentin <edubezval@xxxxxxxxx>
> ---
> drivers/thermal/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Sounds reasonable.

So long as it's been tested and nothing breaks:

Acked-by: Lee Jones <lee.jones@xxxxxxxxxx>

> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
> index 9069cc7..d94b4e9 100644
> --- a/drivers/thermal/Kconfig
> +++ b/drivers/thermal/Kconfig
> @@ -350,7 +350,7 @@ source "drivers/thermal/samsung/Kconfig"
> endmenu
>
> menu "STMicroelectronics thermal drivers"
> -depends on ARCH_STI && OF
> +depends on (ARCH_STI || COMPILE_TEST) && OF
> source "drivers/thermal/st/Kconfig"
> endmenu
>

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/