From patchwork Fri Jan 15 10:52:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 8039771 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D13ADBEEE5 for ; Fri, 15 Jan 2016 10:53:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E1C9A20458 for ; Fri, 15 Jan 2016 10:53:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0B0852044C for ; Fri, 15 Jan 2016 10:53:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754440AbcAOKx3 (ORCPT ); Fri, 15 Jan 2016 05:53:29 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:55563 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751388AbcAOKx2 (ORCPT ); Fri, 15 Jan 2016 05:53:28 -0500 Received: from wuerfel.localnet ([134.3.118.24]) by mrelayeu.kundenserver.de (mreue102) with ESMTPSA (Nemesis) id 0LkPdb-1ZjJCm48Il-00cN8L; Fri, 15 Jan 2016 11:52:56 +0100 From: Arnd Bergmann To: Dave Airlie Cc: Tomi Valkeinen , Rob Clark , dri-devel@lists.freedesktop.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm: omap dss: add missing includes Date: Fri, 15 Jan 2016 11:52:54 +0100 Message-ID: <6010313.rYeAixWRHJ@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V03:K0:BPDDF3QeF/urqktC6aUY78+QIdbkMonC6N/Q8CgjpEGfTIcUJ/p tJurz/x1jYv+P8FuM5dcyZlbCtzc1ggqAUL5DKdazCNqmQ88OchCEovQCYlUVs4snx8C74L oDNSyL/3epAXt8BMR4GHpBgLrtXlmetJhHLeGGtjl4+vdZ3IdyZ+sfEO5ICYKUwgik7DhQi R3QHBFYOlhHNzCwzcWMWg== X-UI-Out-Filterresults: notjunk:1; V01:K0:Tew1xsaUq6w=:4WTii5fZjHRNdMt7ho1ddv SJ4j17gObM2ZFhd9q5iUwRiMfrrlfkKH4oxNOMOH6MnaFAZjIiGsyPeOEheAihtnH+g6gyOFw 0M3IeLRaqxfZ9X7RpKy4EnVVrm7vQ/NN5WAX7hYmBPF4Q+OAP1PxrGSxovaQeObZNAARZdsOT 0djA3pmo419rpfEFNs+MhcbY3vffn4m1GX/MCdK0EjHnyWwC4N2QQdq+IW+z704usp2fNkou4 VFaf0sv/pdMP5OIq7xpWbijJtoflTr+ONge+n5YmvwAaek6J3jakij4tZEKwKbBenSubMefWm NQW2vZXMw9s53coIYF5echzbnYJWIkdfBTqx2BU8+sJ44p0hNQ8LsWSw0OwNEcb8jFeh4RVQs z/urMwC5f0a4gW4REyq0xGoanoq2KdnUhHMP/gLeBX2YQUChpWwiGt2TdvN+EqSLmXs1Lq+jj J7ORecnix5nV3Sq5lgGHosalj32t2qXlIQRbk+KHGWNGJtndAntkcjGdhCJhprgAtM5CtjuQW 7A0l9yO0zH4IjdRwF65UzaA+FMnX/1enl4t5xBkKnvUC1o/q/4CHobDhTsVVMmXhXOX+qRoIi F29une/tyjPf2xvECPlHIBxEubNJ+YzZgpSj14ZWSJWLxhY7MJOFQ1CzqbIApb+52nJw07wG5 ixkjlHh7rc+uuPlIYrJqmHed8hUPUJRS863WgGjE587+NUCFYsXgCAjBNk+XVfnVVzLIaDm8s puq2VoiPhwI6zzjO Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The omapdrm dss driver currently fails to build in some configurations when the pinctrl and seq_print declarations are not visible: omapdrm/dss/dss.c:1268:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration] omapdrm/dss/dss.c:1277:2: error: implicit declaration of function 'pinctrl_pm_select_default_state' [-Werror=implicit-function-declaration] omapdrm/dss/hdmi_wp.c:26:2: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration] omapdrm/dss/hdmi_pll.c:30:2: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration] omapdrm/dss/hdmi_phy.c:34:2: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration] This adds the appropriate include statements. Signed-off-by: Arnd Bergmann Fixes: 9960aa7cb58c ("drm/omap: move omapdss & displays under omapdrm") --- Found on ARM randconfig builds. I assume there are also configurations in which this is not needed because the headers get included through other headers, and I have not investigated exactly what options cause this as the fix seems obvious and harmless. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/gpu/drm/omapdrm/dss/dss.c b/drivers/gpu/drm/omapdrm/dss/dss.c index f95ff319e68e..839b1b6bdbe4 100644 --- a/drivers/gpu/drm/omapdrm/dss/dss.c +++ b/drivers/gpu/drm/omapdrm/dss/dss.c @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi_phy.c b/drivers/gpu/drm/omapdrm/dss/hdmi_phy.c index 1f5d19c119ce..a872721a03a2 100644 --- a/drivers/gpu/drm/omapdrm/dss/hdmi_phy.c +++ b/drivers/gpu/drm/omapdrm/dss/hdmi_phy.c @@ -13,6 +13,8 @@ #include #include #include +#include + #include