]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: at91: pmc: #undef field_{get,prep}() before definition
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 6 Nov 2025 13:33:49 +0000 (14:33 +0100)
committerYury Norov (NVIDIA) <yury.norov@gmail.com>
Mon, 24 Nov 2025 19:15:46 +0000 (14:15 -0500)
commitdbfe51513aae6bace00cc390e11cb486a64a63d2
treee90f0291f92edcf7b2fc8b33f356320343a2ca04
parentd1cadd4bfc2802c6f73b1739dbceef7513afc591
clk: at91: pmc: #undef field_{get,prep}() before 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: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Acked-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
drivers/clk/at91/pmc.h