]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mtd: rawnand: sunxi: #undef field_{get,prep}() before local definition
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 6 Nov 2025 13:33:59 +0000 (14:33 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 27 Nov 2025 17:24:01 +0000 (18:24 +0100)
commitc67c7ee7d5a522d7d38cbc0102315f07322c7c82
treebdc37a3f45314b0bc7f79de53632620230ce516e
parentb98994cb9bc24f5c7575c86650f96c384576fdfa
mtd: rawnand: sunxi: #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>
drivers/mtd/nand/raw/sunxi_nand.c