Re: [PATCH 12/15] w1: omap-hdq: allow compile testing

From: Randy Dunlap
Date: Sat Apr 15 2023 - 12:05:45 EST


Hi,

On 4/15/23 03:43, Krzysztof Kozlowski wrote:
> omap-hdq does not depend on anything from ARCH_OMAP for building.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

It appears that patches 4 and 12 are the same...

> ---
> drivers/w1/masters/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/w1/masters/Kconfig b/drivers/w1/masters/Kconfig
> index 692cac3ff0ee..ad316573288a 100644
> --- a/drivers/w1/masters/Kconfig
> +++ b/drivers/w1/masters/Kconfig
> @@ -53,7 +53,7 @@ config W1_MASTER_GPIO
>
> config HDQ_MASTER_OMAP
> tristate "OMAP HDQ driver"
> - depends on ARCH_OMAP
> + depends on ARCH_OMAP || COMPILE_TEST
> help
> Say Y here if you want support for the 1-wire or HDQ Interface
> on an OMAP processor.

--
~Randy