Re: [PATCH v5 30/44] rtc: add HAS_IOPORT dependencies

Maciej W. Rozycki
2023-05-22T13:09:39Z

On Mon, 22 May 2023, Niklas Schnelle wrote:

> diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
> index 753872408615..a38a919b3f15 100644
> --- a/drivers/rtc/Kconfig
> +++ b/drivers/rtc/Kconfig
> @@ -956,6 +956,7 @@ comment "Platform RTC drivers"
> config RTC_DRV_CMOS
> tristate "PC-style 'CMOS'"
> depends on X86 || ARM || PPC || MIPS || SPARC64
> + depends on HAS_IOPORT || MACH_DECSTATION
> default y if X86
> select RTC_MC146818_LIB
> help

For the DECstation part:

Acked-by: Maciej W. Rozycki <macro@orcam.me.uk>

Maciej