diff mbox series

[4/4] w1: omap-hdq: allow compile testing

Message ID 20230415104304.104134-5-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:42 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

Greg KH April 15, 2023, 3:18 p.m. UTC | #1
On Sat, Apr 15, 2023 at 12:42:53PM +0200, Krzysztof Kozlowski wrote:
> 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(-)
> 
> 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.
> -- 
> 2.34.1
> 

I'm guessing this shouldn't be part of this series?
Krzysztof Kozlowski April 16, 2023, 7:18 a.m. UTC | #2
On 15/04/2023 17:18, Greg Kroah-Hartman wrote:
> On Sat, Apr 15, 2023 at 12:42:53PM +0200, Krzysztof Kozlowski wrote:
>> 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(-)
>>
>> 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.
>> -- 
>> 2.34.1
>>
> 
> I'm guessing this shouldn't be part of this series?

Yes, a git format-patch glitch. It's included in the series as 12/15.

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.