From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756126AbcAOKxa (ORCPT ); Fri, 15 Jan 2016 05:53:30 -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 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 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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