On 27/02/2025 23:43, Marek Vasut wrote:
> The RZN1 symbol name is CONFIG_RZN1, there is no CONFIG_ARCH_RZN1.
> Fix the symbol name so the pinctrl driver for RZN1 gets build.
> 
> Fixes: e4aea57fa773 ("pinctrl: renesas: add R906G032 driver")
> Signed-off-by: Marek Vasut <[email protected]>
> ---
> Cc: Paul Barker <[email protected]>
> Cc: Ralph Siemsen <[email protected]>
> Cc: Simon Glass <[email protected]>
> Cc: Tom Rini <[email protected]>
> Cc: [email protected]
> ---
>  drivers/pinctrl/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile
> index 634047a91f4..0d5798b0634 100644
> --- a/drivers/pinctrl/Makefile
> +++ b/drivers/pinctrl/Makefile
> @@ -15,7 +15,7 @@ obj-$(CONFIG_ARCH_MTMIPS) += mtmips/
>  obj-$(CONFIG_ARCH_NPCM)         += nuvoton/
>  obj-$(CONFIG_PINCTRL_QCOM) += qcom/
>  obj-$(CONFIG_ARCH_RENESAS) += renesas/
> -obj-$(CONFIG_ARCH_RZN1) += renesas/
> +obj-$(CONFIG_RZN1) += renesas/

I'm a bit confused by this one.

In arch/arm/mach-renesas/Kconfig, config RZN1 is behind an 'if
ARCH_RENESAS' condition. So if CONFIG_RZN1 is set, shouldn't
CONFIG_ARCH_RENESAS also be set?

Both symbols pull in the renesas directory.

Thanks,

-- 
Paul Barker

Attachment: OpenPGP_0x27F4B3459F002257.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to