Commit e4e818cc authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Daniel Vetter

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1493009447-31524-2-git-send-email-yamada.masahiro@socionext.com
parent 9cf8f580
...@@ -24,8 +24,10 @@ ...@@ -24,8 +24,10 @@
#ifndef __DRM_PANEL_H__ #ifndef __DRM_PANEL_H__
#define __DRM_PANEL_H__ #define __DRM_PANEL_H__
#include <linux/errno.h>
#include <linux/list.h> #include <linux/list.h>
struct device_node;
struct drm_connector; struct drm_connector;
struct drm_device; struct drm_device;
struct drm_panel; struct drm_panel;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment