|PATCH RESEND] clocksource/drivers/timer-microchip-pit64b: Drop obsolete dependency on COMPILE_TEST

Jean Delvare posted 1 patch 2 years, 7 months ago
drivers/clocksource/Kconfig |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
|PATCH RESEND] clocksource/drivers/timer-microchip-pit64b: Drop obsolete dependency on COMPILE_TEST
Posted by Jean Delvare 2 years, 7 months ago
Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it
is possible to test-build any driver which depends on OF on any
architecture by explicitly selecting OF. Therefore depending on
COMPILE_TEST as an alternative is no longer needed.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Claudiu Beznea <claudiu.beznea@microchip.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
---
 drivers/clocksource/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-6.1.orig/drivers/clocksource/Kconfig
+++ linux-6.1/drivers/clocksource/Kconfig
@@ -706,7 +706,7 @@ config INGENIC_OST
 
 config MICROCHIP_PIT64B
 	bool "Microchip PIT64B support"
-	depends on OF || COMPILE_TEST
+	depends on OF
 	select TIMER_OF
 	help
 	  This option enables Microchip PIT64B timer for Atmel


-- 
Jean Delvare
SUSE L3 Support
Re: |PATCH RESEND] clocksource/drivers/timer-microchip-pit64b: Drop obsolete dependency on COMPILE_TEST
Posted by Daniel Lezcano 2 years, 7 months ago
On 21/01/2023 18:29, Jean Delvare wrote:
> Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it
> is possible to test-build any driver which depends on OF on any
> architecture by explicitly selecting OF. Therefore depending on
> COMPILE_TEST as an alternative is no longer needed.
> 
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Cc: Claudiu Beznea <claudiu.beznea@microchip.com>
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> ---

Applied, thanks

-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

Re: |PATCH RESEND] clocksource/drivers/timer-microchip-pit64b: Drop obsolete dependency on COMPILE_TEST
Posted by Claudiu.Beznea@microchip.com 2 years, 7 months ago
On 21.01.2023 19:29, Jean Delvare wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it
> is possible to test-build any driver which depends on OF on any
> architecture by explicitly selecting OF. Therefore depending on
> COMPILE_TEST as an alternative is no longer needed.
> 
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Cc: Claudiu Beznea <claudiu.beznea@microchip.com>
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>

Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>


> ---
>  drivers/clocksource/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- linux-6.1.orig/drivers/clocksource/Kconfig
> +++ linux-6.1/drivers/clocksource/Kconfig
> @@ -706,7 +706,7 @@ config INGENIC_OST
> 
>  config MICROCHIP_PIT64B
>         bool "Microchip PIT64B support"
> -       depends on OF || COMPILE_TEST
> +       depends on OF
>         select TIMER_OF
>         help
>           This option enables Microchip PIT64B timer for Atmel
> 
> 
> --
> Jean Delvare
> SUSE L3 Support

[tip: timers/core] clocksource/drivers/timer-microchip-pit64b: Drop obsolete dependency on COMPILE_TEST
Posted by tip-bot2 for Jean Delvare 2 years, 7 months ago
The following commit has been merged into the timers/core branch of tip:

Commit-ID:     8d17aca90bcf36833271de6531edb58a91c40e9f
Gitweb:        https://git.kernel.org/tip/8d17aca90bcf36833271de6531edb58a91c40e9f
Author:        Jean Delvare <jdelvare@suse.de>
AuthorDate:    Sat, 21 Jan 2023 18:29:11 +01:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Mon, 13 Feb 2023 13:10:17 +01:00

clocksource/drivers/timer-microchip-pit64b: Drop obsolete dependency on COMPILE_TEST

Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it
is possible to test-build any driver which depends on OF on any
architecture by explicitly selecting OF. Therefore depending on
COMPILE_TEST as an alternative is no longer needed.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Claudiu Beznea <claudiu.beznea@microchip.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20230121182911.4e47a5ff@endymion.delvare
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 drivers/clocksource/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 4469e7f..45085ab 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -706,7 +706,7 @@ config INGENIC_OST
 
 config MICROCHIP_PIT64B
 	bool "Microchip PIT64B support"
-	depends on OF || COMPILE_TEST
+	depends on OF
 	select TIMER_OF
 	help
 	  This option enables Microchip PIT64B timer for Atmel