Re: [PATCH] pinctrl: imx27: Fix redefinition of 'PC' in imx27 driver
From: Fabio Estevam
Date: Mon Oct 07 2024 - 08:07:46 EST
Hi Paulo,
Thanks for your patch.
On Mon, Oct 7, 2024 at 5:33 AM Paulo Miguel Almeida
<paulo.miguel.almeida.rodenas@xxxxxxxxx> wrote:
>
> The `PC` macro in `drivers/pinctrl/freescale/pinctrl-imx27.c` is
> clashing with an existing `PC` macro defined in
> `arch/mips/include/uapi/asm/ptrace.h`. This leads to a compilation
> error when building for MIPS architecture.
>
> Rename those to use a more specific prefix (`MX27_`) to avoid
> conflicts with other platform definitions.
>
> Signed-off-by: Paulo Miguel Almeida <paulo.miguel.almeida.rodenas@xxxxxxxxx>
Linus Walleij has already submitted a fix for this problem:
https://lore.kernel.org/linux-gpio/CAOMZO5DqwcM1U8FtybUHbHYZjLi-5BO6nGfifHXguKtcEY4DrA@xxxxxxxxxxxxxx/T/#t