Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1165093AbdDXE5J (ORCPT ); Mon, 24 Apr 2017 00:57:09 -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 ); Mon, 24 Apr 2017 00:51:55 -0400 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v3O4oqMe025903 X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: dri-devel@lists.freedesktop.org, David Airlie , Daniel Vetter , Jani Nikula , Sean Paul Cc: linux-kernel@vger.kernel.org, Masahiro Yamada 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 726 Lines: 31 -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 --- 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 #include +struct device_node; struct drm_connector; struct drm_device; struct drm_panel; -- 2.7.4