[PATCH v5 07/23] pinctrl: ma35: #undef field_{get,prep}() before local definition

Linus Walleij linus.walleij at linaro.org
Thu Oct 30 01:19:45 AEDT 2025


Hi Geert,

thanks for your patch!

On Mon, Oct 27, 2025 at 7:43 PM Geert Uytterhoeven
<geert+renesas at glider.be> wrote:

> Prepare for the advent of globally available common field_get() and
> field_prep() macros by undefining the symbols before defining local
> variants.  This prevents redefinition warnings from the C preprocessor
> when introducing the common macros later.
>
> Suggested-by: Yury Norov <yury.norov at gmail.com>
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>

Do you want me to just merge this patch to the pinctrl tree or do
you have other plans?

Yours,
Linus Walleij


More information about the Linux-aspeed mailing list