Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Masahiro Yamada and committed by
Daniel Vetter
e4e818cc 9cf8f580

+2
+2
include/drm/drm_panel.h
··· 24 24 #ifndef __DRM_PANEL_H__ 25 25 #define __DRM_PANEL_H__ 26 26 27 + #include <linux/errno.h> 27 28 #include <linux/list.h> 28 29 30 + struct device_node; 29 31 struct drm_connector; 30 32 struct drm_device; 31 33 struct drm_panel;