]> git.ipfire.org Git - thirdparty/linux.git/commit
pinctrl: ma35: #undef field_{get,prep}() before local definition
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 6 Nov 2025 13:33:55 +0000 (14:33 +0100)
committerYury Norov (NVIDIA) <yury.norov@gmail.com>
Mon, 24 Nov 2025 19:15:46 +0000 (14:15 -0500)
commit2fc00c008e9043ca66b711cc0df78a4d94da2e34
tree50d97f3d7db330e1b0df722cd85e721e1ca19bab
parent8a838dabf145818e67b304997c21a055dd5943dc
pinctrl: ma35: #undef field_{get,prep}() before local definition

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@gmail.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
drivers/pinctrl/nuvoton/pinctrl-ma35.c