mirror of https://github.com/torvalds/linux.git
In various configurations/architectures, bitfield.h may not be
transitively included, which results in a compiler error because
FIELD_PREP is an unexpanded macro:
drivers/phy/freescale/phy-fsl-imx8qm-hsio.c:459:8: error: call to undeclared function 'FIELD_PREP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
459 | val = FIELD_PREP(HSIO_MODE_MASK, val);
| ^
1 error generated.
Include bitfield.h explicitly to fix the build.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| phy-fsl-imx8-mipi-dphy.c | ||
| phy-fsl-imx8m-pcie.c | ||
| phy-fsl-imx8mq-usb.c | ||
| phy-fsl-imx8qm-hsio.c | ||
| phy-fsl-imx8qm-lvds-phy.c | ||
| phy-fsl-lynx-28g.c | ||
| phy-fsl-samsung-hdmi.c | ||