The driver needs the include <drm/drm_bridge.h>. WIth CONFIG_OF enabled this is provided by a conditional include in <drm/drm_of.h>. To fix building the lcdc driver with CONFIG_OF=n, include <drm/drm_bridge.h> explicitly. Fixes: c87e859cdeb5 ("drm/imx/lcdc: Implement DRM driver for imx25") Reported-by: kernel test robot <lkp@xxxxxxxxx> Link: https://lore.kernel.org/oe-kbuild-all/202303190127.uylmokJl-lkp@xxxxxxxxx/ Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> --- drivers/gpu/drm/imx/lcdc/imx-lcdc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/imx/lcdc/imx-lcdc.c b/drivers/gpu/drm/imx/lcdc/imx-lcdc.c index 24bc7b310367..8e6d457917da 100644 --- a/drivers/gpu/drm/imx/lcdc/imx-lcdc.c +++ b/drivers/gpu/drm/imx/lcdc/imx-lcdc.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-only // SPDX-FileCopyrightText: 2020 Marian Cichy <M.Cichy@xxxxxxxxxxxxxx> +#include <drm/drm_bridge.h> #include <drm/drm_bridge_connector.h> #include <drm/drm_damage_helper.h> #include <drm/drm_drv.h> base-commit: c87e859cdeb5d106cb861326e3135c606d61f88d -- 2.39.2