Re: (subset) [PATCH] mfd: tps6594: Explicitly include bitfield.h

From: Lee Jones

Date: Thu Sep 11 2025 - 11:10:48 EST


On Thu, 04 Sep 2025 18:26:12 -0700, Nathan Chancellor wrote:
> After a recent change that started using FIELD_GET() in tps6594-core.c,
> there is an error when bitfield.h is not implicitly included, such as
> when building allmodconfig for ARCH=hexagon:
>
> drivers/mfd/tps6594-core.c:767:7: error: call to undeclared function 'FIELD_GET'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 767 | if (FIELD_GET(TPS65224_MASK_EN_PB_VSENSE_CONFIG, pwr_on) == TPS65224_EN_SEL_PB ||
> | ^
>
> [...]

Applied, thanks!

[1/1] mfd: tps6594: Explicitly include bitfield.h
commit: a377b1be3a0ed51ccabfe22908ebde065848313c

--
Lee Jones [李琼斯]