linux/drivers/phy/freescale
Nathan Chancellor aefa036be8 phy: freescale: imx8qm-hsio: Include bitfield.h for FIELD_PREP
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: 82c56b6dd2 ("phy: freescale: imx8qm-hsio: Add i.MX8QM HSIO PHY driver support")
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406170340.7mk3WU3Q-lkp@intel.com/
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20240620-phy-fsl-imx8qm-hsio-add-bitfield-include-v1-1-5c7c09ed87e6@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2024-06-20 21:56:11 +05:30
..
Kconfig phy: freescale: imx8qm-hsio: Add i.MX8QM HSIO PHY driver support 2024-06-15 17:52:01 +05:30
Makefile phy: freescale: imx8qm-hsio: Add i.MX8QM HSIO PHY driver support 2024-06-15 17:52:01 +05:30
phy-fsl-imx8-mipi-dphy.c phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use dashes 2024-02-07 11:19:40 +01:00
phy-fsl-imx8m-pcie.c phy: freescale: imx8m-pcie: fix pcie link-up instability 2024-04-06 12:43:16 +05:30
phy-fsl-imx8mq-usb.c phy: fsl-imx8mq-usb: add dev_err_probe if getting vbus failed 2023-08-22 19:28:11 +05:30
phy-fsl-imx8qm-hsio.c phy: freescale: imx8qm-hsio: Include bitfield.h for FIELD_PREP 2024-06-20 21:56:11 +05:30
phy-fsl-imx8qm-lvds-phy.c phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
phy-fsl-lynx-28g.c phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
phy-fsl-samsung-hdmi.c phy: freescale: fsl-samsung-hdmi: Convert to platform remove callback returning void 2024-04-12 15:18:42 +05:30