diff mbox series

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

Message ID 20230415104304.104134-13-krzysztof.kozlowski@linaro.org (mailing list archive)
State Not Applicable
Headers show
Series [01/15] w1: ds2408: drop kerneldoc annotation | expand

Commit Message

Krzysztof Kozlowski April 15, 2023, 10:43 a.m. UTC
omap-hdq does not depend on anything from ARCH_OMAP for building.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/w1/masters/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Randy Dunlap April 15, 2023, 4:05 p.m. UTC | #1
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@linaro.org>

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.
Krzysztof Kozlowski April 16, 2023, 7:22 a.m. UTC | #2
On 15/04/2023 18:05, Randy Dunlap wrote:
> 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@linaro.org>
> 
> It appears that patches 4 and 12 are the same...

Yes, I messed with git format-patch a bit. #4 can be ignored.

Best regards,
Krzysztof
diff mbox series

Patch

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.