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

Message ID 20230121182911.4e47a5ff@endymion.delvare
State New
Headers
Series |PATCH RESEND] clocksource/drivers/timer-microchip-pit64b: Drop obsolete dependency on COMPILE_TEST |

Commit Message

Jean Delvare Jan. 21, 2023, 5:29 p.m. UTC
  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(-)
  

Comments

Claudiu Beznea Jan. 25, 2023, 10:07 a.m. UTC | #1
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
  
Daniel Lezcano Jan. 26, 2023, 10:55 a.m. UTC | #2
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
  

Patch

--- 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