summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_panel.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-04-24 13:50:19 +0900
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-05-16 17:17:02 +0200
commite4e818cc2d7ccfa76d258e4a63ceba9880591303 (patch)
tree93adf9b15e908aafed8dfd254df01a7a0e499ef9 /include/drm/drm_panel.h
parent9cf8f5802f39d9991158b29033c852bccfc3a4d4 (diff)
downloadop-kernel-dev-e4e818cc2d7ccfa76d258e4a63ceba9880591303.zip
op-kernel-dev-e4e818cc2d7ccfa76d258e4a63ceba9880591303.tar.gz
drm: make drm_panel.h self-contained
-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> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1493009447-31524-2-git-send-email-yamada.masahiro@socionext.com
Diffstat (limited to 'include/drm/drm_panel.h')
-rw-r--r--include/drm/drm_panel.h2
1 files changed, 2 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud