[PATCH] drm/bridge: Remove compilation error
ye.xingchen at zte.com.cn
ye.xingchen at zte.com.cn
Thu Jan 19 03:15:59 UTC 2023
From: ye xingchen <ye.xingchen at zte.com.cn>
drivers/gpu/drm/vc4/vc4_dsi.c :1822:13: error: 'struct drm_bridge' has
no member named 'of_node'.
Signed-off-by: ye xingchen <ye.xingchen at zte.com.cn>
---
include/drm/drm_bridge.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h
index 42f86327b40a..1f84a8d491c7 100644
--- a/include/drm/drm_bridge.h
+++ b/include/drm/drm_bridge.h
@@ -715,10 +715,8 @@ struct drm_bridge {
struct drm_encoder *encoder;
/** @chain_node: used to form a bridge chain */
struct list_head chain_node;
-#ifdef CONFIG_OF
/** @of_node: device node pointer to the bridge */
struct device_node *of_node;
-#endif
/** @list: to keep track of all added bridges */
struct list_head list;
/**
--
2.25.1
More information about the dri-devel
mailing list