2021-02-04 07:35:30

by Anand K. Mistry

[permalink] [raw]
Subject: [PATCH] x86: Remove HPET_EMULATE_RTC depends on RTC

The RTC config option was removed in commit f52ef24be21a ("rtc/alpha:
remove legacy rtc driver")

Signed-off-by: Anand K Mistry <[email protected]>
---

arch/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 21f851179ff0..37775478d86f 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -890,7 +890,7 @@ config HPET_TIMER

config HPET_EMULATE_RTC
def_bool y
- depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)
+ depends on HPET_TIMER && (RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)

config APB_TIMER
def_bool y if X86_INTEL_MID
--
2.30.0.365.g02bc693789-goog


2021-02-05 01:37:49

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] x86: Remove HPET_EMULATE_RTC depends on RTC

On 2/3/21 11:32 PM, Anand K Mistry wrote:
> The RTC config option was removed in commit f52ef24be21a ("rtc/alpha:
> remove legacy rtc driver")
>
> Signed-off-by: Anand K Mistry <[email protected]>
> ---

Reviewed-by: Randy Dunlap <[email protected]>

Thanks.

>
> arch/x86/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 21f851179ff0..37775478d86f 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -890,7 +890,7 @@ config HPET_TIMER
>
> config HPET_EMULATE_RTC
> def_bool y
> - depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)
> + depends on HPET_TIMER && (RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)
>
> config APB_TIMER
> def_bool y if X86_INTEL_MID
>


--
~Randy

Subject: [tip: x86/cleanups] x86/Kconfig: Remove HPET_EMULATE_RTC depends on RTC

The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID: 3228e1dc80983ee1f5d2e533d010b3bd8b50f0e2
Gitweb: https://git.kernel.org/tip/3228e1dc80983ee1f5d2e533d010b3bd8b50f0e2
Author: Anand K Mistry <[email protected]>
AuthorDate: Thu, 04 Feb 2021 18:32:32 +11:00
Committer: Thomas Gleixner <[email protected]>
CommitterDate: Fri, 05 Feb 2021 19:56:35 +01:00

x86/Kconfig: Remove HPET_EMULATE_RTC depends on RTC

The RTC config option was removed in commit f52ef24be21a ("rtc/alpha:
remove legacy rtc driver")

Signed-off-by: Anand K Mistry <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Randy Dunlap <[email protected]>
Link: https://lore.kernel.org/r/20210204183205.1.If5c6ded53a00ecad6a02a1e974316291cc0239d1@changeid
---
arch/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 7b6dd10..865c1e7 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -889,7 +889,7 @@ config HPET_TIMER

config HPET_EMULATE_RTC
def_bool y
- depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)
+ depends on HPET_TIMER && (RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)

config APB_TIMER
def_bool y if X86_INTEL_MID