[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202301191115594503875@zte.com.cn>
Date: Thu, 19 Jan 2023 11:15:59 +0800 (CST)
From: <ye.xingchen@....com.cn>
To: <maarten.lankhorst@...ux.intel.com>
Cc: <mripard@...nel.org>, <tzimmermann@...e.de>, <airlied@...il.com>,
<daniel@...ll.ch>, <dri-devel@...ts.freedesktop.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH] drm/bridge: Remove compilation error
From: ye xingchen <ye.xingchen@....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@....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
Powered by blists - more mailing lists