Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1629194 > unrolled thread

[PATCH v2 01/29] drm: make drm_panel.h self-contained

Started byMasahiro Yamada <yamada.masahiro@socionext.com>
First post2017-04-24 07:00 +0200
Last post2017-04-24 07:00 +0200
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.


Contents

  [PATCH v2 01/29] drm: make drm_panel.h self-contained Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-04-24 07:00 +0200

#1629194 — [PATCH v2 01/29] drm: make drm_panel.h self-contained

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2017-04-24 07:00 +0200
Subject[PATCH v2 01/29] drm: make drm_panel.h self-contained
Message-ID<tzEgs-2jT-59@gated-at.bofh.it>
-ENOSYS and -EINVAL are referenced in some static inline functions.
of_drm_find_pane() takes a pointer to struct device_node.

Make this header self-contained to not depend on specific include
order.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v2: None

 include/drm/drm_panel.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/drm/drm_panel.h b/include/drm/drm_panel.h
index 1b364b0..14ac240 100644
--- a/include/drm/drm_panel.h
+++ b/include/drm/drm_panel.h
@@ -24,8 +24,10 @@
 #ifndef __DRM_PANEL_H__
 #define __DRM_PANEL_H__
 
+#include <linux/errno.h>
 #include <linux/list.h>
 
+struct device_node;
 struct drm_connector;
 struct drm_device;
 struct drm_panel;
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web