Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1577876 > unrolled thread
| Started by | Rob Herring <robh@kernel.org> |
|---|---|
| First post | 2017-02-09 20:10 +0100 |
| Last post | 2017-02-09 20:10 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v2 2/6] drm: make of_drm_find_panel also depend on CONFIG_DRM_PANEL Rob Herring <robh@kernel.org> - 2017-02-09 20:10 +0100
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2017-02-09 20:10 +0100 |
| Subject | [PATCH v2 2/6] drm: make of_drm_find_panel also depend on CONFIG_DRM_PANEL |
| Message-ID | <t92gq-1CS-27@gated-at.bofh.it> |
For drm_of_find_panel_or_bridge() added in the next commit, an empty version of of_drm_find_panel is needed for !CONFIG_DRM_PANEL. Signed-off-by: Rob Herring <robh@kernel.org> --- v2: - new patch include/drm/drm_panel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/drm_panel.h b/include/drm/drm_panel.h index 220d1e2b3db1..960b5fd5ed18 100644 --- a/include/drm/drm_panel.h +++ b/include/drm/drm_panel.h @@ -192,7 +192,7 @@ void drm_panel_remove(struct drm_panel *panel); int drm_panel_attach(struct drm_panel *panel, struct drm_connector *connector); int drm_panel_detach(struct drm_panel *panel); -#ifdef CONFIG_OF +#if defined(CONFIG_OF) && defined(CONFIG_DRM_PANEL) struct drm_panel *of_drm_find_panel(struct device_node *np); #else static inline struct drm_panel *of_drm_find_panel(struct device_node *np) -- 2.10.1
Back to top | Article view | linux.kernel
csiph-web