All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: dri-devel@lists.freedesktop.org, David Airlie <airlied@linux.ie>,
	Daniel Vetter <daniel.vetter@intel.com>,
	Jani Nikula <jani.nikula@linux.intel.com>,
	Sean Paul <seanpaul@chromium.org>
Cc: linux-kernel@vger.kernel.org,
	Masahiro Yamada <yamada.masahiro@socionext.com>
Subject: [PATCH v2 01/29] drm: make drm_panel.h self-contained
Date: Mon, 24 Apr 2017 13:50:19 +0900	[thread overview]
Message-ID: <1493009447-31524-2-git-send-email-yamada.masahiro@socionext.com> (raw)
In-Reply-To: <1493009447-31524-1-git-send-email-yamada.masahiro@socionext.com>

-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

  reply	other threads:[~2017-04-24  4:57 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-24  4:50 [PATCH v2 00/29] gpu/drm: remove -Iinclude/drm compiler flags from Makefile Masahiro Yamada
2017-04-24  4:50 ` Masahiro Yamada [this message]
2017-04-24  4:50 ` [PATCH v2 02/29] drm/ttm: fix include notation and remove -Iinclude/drm flag Masahiro Yamada
2017-04-25  3:57   ` Michel Dänzer
2017-04-25  3:57     ` Michel Dänzer
2017-04-24  4:50 ` [PATCH v2 03/29] drm/amd: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 04/29] drm/ast: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 05/29] drm/bochs: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 06/29] drm/bridge: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 07/29] drm/cirrus: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 08/29] drm/hisilicon: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 09/29] drm/mgag200: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 10/29] drm/msm: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 11/29] drm/nouveau: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 12/29] drm/qxl: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 13/29] drm/radeon: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 14/29] drm/tilcdc: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 15/29] drm/vc4: " Masahiro Yamada
2017-05-17 12:40   ` Daniel Vetter
2017-05-17 12:40     ` Daniel Vetter
2017-05-18  4:35     ` Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 16/29] drm/virtio: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 17/29] drm/vmwgfx: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 18/29] drm/gma500: remove unneeded -Iinclude/drm compiler flag Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 19/29] drm/i810: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 20/29] drm/i2c: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 21/29] drm/mga: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 22/29] drm/omap: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 23/29] drm/r128: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 24/29] drm/savage: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 25/29] drm/sis: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 26/29] drm/tdfx: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 27/29] drm/udl: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 28/29] drm/vgem: " Masahiro Yamada
2017-04-24  4:50 ` [PATCH v2 29/29] drm/via: " Masahiro Yamada
2017-05-18  5:38 ` [PATCH v2 00/29] gpu/drm: remove -Iinclude/drm compiler flags from Makefile Daniel Vetter
2017-05-18  5:38   ` Daniel Vetter
2017-05-19 12:39   ` Masahiro Yamada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1493009447-31524-2-git-send-email-yamada.masahiro@socionext.com \
    --to=yamada.masahiro@socionext.com \
    --cc=airlied@linux.ie \
    --cc=daniel.vetter@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=seanpaul@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.