2023-01-21 17:35:41

by Jean Delvare

[permalink] [raw]
Subject: |PATCH RESEND] 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 <[email protected]>
Cc: Claudiu Beznea <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Cc: Thomas Gleixner <[email protected]>
---
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


2023-01-25 10:08:02

by Claudiu Beznea

[permalink] [raw]
Subject: Re: |PATCH RESEND] clocksource/drivers/timer-microchip-pit64b: Drop obsolete dependency on COMPILE_TEST

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 <[email protected]>
> Cc: Claudiu Beznea <[email protected]>
> Cc: Daniel Lezcano <[email protected]>
> Cc: Thomas Gleixner <[email protected]>

Reviewed-by: Claudiu Beznea <[email protected]>


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

2023-01-26 10:55:37

by Daniel Lezcano

[permalink] [raw]
Subject: Re: |PATCH RESEND] clocksource/drivers/timer-microchip-pit64b: Drop obsolete dependency on COMPILE_TEST

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 <[email protected]>
> Cc: Claudiu Beznea <[email protected]>
> Cc: Daniel Lezcano <[email protected]>
> Cc: Thomas Gleixner <[email protected]>
> ---

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


Subject: [tip: timers/core] clocksource/drivers/timer-microchip-pit64b: Drop obsolete dependency on COMPILE_TEST

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 <[email protected]>
AuthorDate: Sat, 21 Jan 2023 18:29:11 +01:00
Committer: Daniel Lezcano <[email protected]>
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 <[email protected]>
Cc: Claudiu Beznea <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Reviewed-by: Claudiu Beznea <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
---
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