Re: [PATCH 04/21] sh: select legacy gpiolib interface

Rob Landley <[email protected]>
Newsgroups gmane.linux.ports.sh.devel,gmane.linux.kernel.gpio,gmane.linux.kernel
Message-ID <[email protected]>
On 8/8/25 10:17, Arnd Bergmann wrote:
> diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
> index d5795067befa..d60f1d5a94c0 100644
> --- a/arch/sh/Kconfig
> +++ b/arch/sh/Kconfig
> @@ -462,6 +462,7 @@ config CPU_SUBTYPE_SHX3
>   	select CPU_SHX3
>   	select GENERIC_CLOCKEVENTS_BROADCAST if SMP
>   	select GPIOLIB
> +	select GPIOLIB_LEGACY
>   	select PINCTRL

Is there a reason to have both rather than having GPIOLIB_LEGACY select 
GPIOLIB? (Does the legacy one ever NOT use the new one?)

Rob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.