Skip to contentSkip to conversation

drm/bridge: Remove compilation error

PATCH New [email protected] 1 participant 1 message Jan 19, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/bridge: Remove compilation error

From: ye xingchen <[email protected]>

drivers/gpu/drm/vc4/vc4_dsi.c :1822:13: error: 'struct drm_bridge' has
no member named 'of_node'.

---
 include/drm/drm_bridge.h | 2 --
 1 file changed, 2 deletions(-)
include/drm/drm_bridge.h +0 -2
index 42f86327b40a..1f84a8d491c7 100644
@@ -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;
 	/**
Signature · 1 line
2.25.1