Message ID | 1493009447-31524-2-git-send-email-yamada.masahiro@socionext.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1321428qgf; Sun, 23 Apr 2017 21:57:12 -0700 (PDT) X-Received: by 10.84.175.67 with SMTP id s61mr30503486plb.126.1493009832104; Sun, 23 Apr 2017 21:57:12 -0700 (PDT) Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s89si17594518pfi.317.2017.04.23.21.57.11; Sun, 23 Apr 2017 21:57:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1165094AbdDXE5K (ORCPT <rfc822;georgi.djakov@linaro.org> + 15 others); Mon, 24 Apr 2017 00:57:10 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:48523 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1164717AbdDXEvz (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 24 Apr 2017 00:51:55 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id v3O4oqMe025903; Mon, 24 Apr 2017 13:50:53 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v3O4oqMe025903 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1493009453; bh=xzbm9FNZOANkB6TdkUx2rcdjPYWnqKZm6P3BTgyTPwU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PKjrv8iMLMNx2pmd9s0xKCWIOYSDM+5PmRPGxS7aec/SDzZWQVKZ7Bd9YXwZQePzq kB4VYqssMOuNyCXlVeaLiG6gEw6pzHnJxbuNh0b47rRTArle28+WByMcvjhySV8DB6 qFR3su3MRt+ycdmzkIJc4juizLz3vPoN2KZYGVd9J1UhdiuaGUS0sBET4jL95vd9yd NReIm7RxHKR1wMW9XhehKKXgqqyvgPq+eIBA+qpLFAVf+cZcxPbKgInS6gVlefw5uK rKnMtKy41brLD4CpBSE1ioXtav3w6DQPqeQlrUvXxxVa6zIXkgL41tL+Fy4tEGr6yy khkixCSDTZ4Xg== X-Nifty-SrcIP: [153.142.97.92] 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 Message-Id: <1493009447-31524-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1493009447-31524-1-git-send-email-yamada.masahiro@socionext.com> References: <1493009447-31524-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
gpu/drm: remove -Iinclude/drm compiler flags from Makefile
|
expand
|
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;
-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(+) -- 2.7.4