[PATCH v6 06/26] iio: mlx90614: #undef field_{get,prep}() before local definition

Jonathan Cameron jic23 at kernel.org
Mon Nov 10 00:35:34 AEDT 2025


On Thu,  6 Nov 2025 14:33:54 +0100
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>
Acked-by: Jonathan Cameron <jonathan.cameron at huawei.com>


More information about the Linux-aspeed mailing list