From patchwork Wed May 11 16:01:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102356 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp302108qge; Wed, 11 May 2016 09:03:31 -0700 (PDT) X-Received: by 10.66.78.104 with SMTP id a8mr6183426pax.88.1462982611496; Wed, 11 May 2016 09:03:31 -0700 (PDT) Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id ah8si10659410pad.148.2016.05.11.09.03.31; Wed, 11 May 2016 09:03:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5B4876E284; Wed, 11 May 2016 16:03:30 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 279786E284 for ; Wed, 11 May 2016 16:03:29 +0000 (UTC) Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0MMWCs-1ayrN70XVO-008L64; Wed, 11 May 2016 18:02:59 +0200 From: Arnd Bergmann To: airlied@redhat.com Subject: [PATCH 1/3] drm/omap: include linux/seq_file.h where needed Date: Wed, 11 May 2016 18:01:45 +0200 Message-Id: <1462982509-342936-2-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1462982509-342936-1-git-send-email-arnd@arndb.de> References: <1462982509-342936-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:iPP8EQ8V3SfJJcBVVZMTQ2c/6f8xOI9QqaAIEfUwXtc8TGcsGxo o+6T7jHhqvFdHMRmdPd+NaXbNDOgDo85lCqvd77Gxj4Q1lROGX66fjftAEWcSUGnJ9DpHbw L03wMt9V8qa+8J8jxBb1Tckj6jdAx/pXZTlS4mcdf9JfjWtixau0GD4diRruCUuhtJk9wHe ZaN7OJR92yLcDQwyJZhLw== X-UI-Out-Filterresults: notjunk:1; V01:K0:8D/hbGEXGFo=:46zZSFS3e7YKiMFxt0wGz+ tR66s33LxlNOelys5omhts3wS2BtXvvqYoaSdJsm7HkFvFNNzdGBebQ+Qtfu1OzbakrT1do54 wOy0JknMl+UjT5HrqssAR5lgwJAbK/tJRty1/S1dQZT86v4gJdGTfvu2WMqjCCqRKOvFuA3NO l8rpJnY16ZSL0zFTfa9EZv3xRry0ChVME85eWDs+U5cQR0d5Ie9FdZlUDhOKvJSaYqe6bwo+N 4svRPu7hWYdPKpPVQXQruNt/89Qp3sEypQFTzp1ACItK5ptAKNFOU+mzC0t8AHwcx4ql9mP40 nA7zW/EzDxKcfD4aeLlqldn36X+K0vOIOJar5niWwhKotP0+x0CYSYdTvehC4jSVvsCbJr9q2 gzsaNjc7nOo2G85P/cvzi394d5Zp5NoyL9OYf9/veOcmeSEQIDoSAYpp0mKku3tEl8wAVFPQW UdI3SUUhIjB5EufKDZS13/sP59dambDXI7gH0h2wiuFbD6jTmqZ/j6hQRXuYXHYWJQLsyPkAw a/qt72sW6KR2VSTTlGdGZmRfFfjY9ZLUj1AkuztKQgiMwnqYA8QyZOvaQjfiQbElvcLe+Fh4H IA7Kn2QKYQ0z/4GxAcYlpMQi63x/eZ5s1WGziEGheQMEJL7ERpWMgm1GANnEOlyqlARAG29dw WrnE24HVTlTaneyCJ6gM9j+aQfHsPQDvMGPPNKW9VlOnMs4ng80PQl2pyxULOSXYbNtM= Cc: Arnd Bergmann , Daniel Vetter , "Luis R. Rodriguez" , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Tomi Valkeinen , Luis de Bethencourt , Laurent Pinchart , Andy Gross , linux-arm-kernel@lists.infradead.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The omapdrm driver relies on this header to be included implicitly, but this does not always work, and I get this error in randconfig builds: gpu/drm/omapdrm/dss/hdmi_phy.c: In function 'hdmi_phy_dump': gpu/drm/omapdrm/dss/hdmi_phy.c:34:2: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration] gpu/drm/omapdrm/dss/hdmi_wp.c: In function 'hdmi_wp_dump': gpu/drm/omapdrm/dss/hdmi_wp.c:26:2: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration] gpu/drm/omapdrm/dss/hdmi_pll.c: In function 'hdmi_pll_dump': gpu/drm/omapdrm/dss/hdmi_pll.c:30:2: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration] This adds the #include statements in all files that have a seq_printf statement. Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/omapdrm/dss/hdmi_phy.c | 1 + drivers/gpu/drm/omapdrm/dss/hdmi_pll.c | 1 + drivers/gpu/drm/omapdrm/dss/hdmi_wp.c | 1 + drivers/gpu/drm/omapdrm/omap_debugfs.c | 2 ++ drivers/gpu/drm/omapdrm/omap_dmm_tiler.c | 1 + drivers/gpu/drm/omapdrm/omap_fb.c | 2 ++ drivers/gpu/drm/omapdrm/omap_gem.c | 1 + 7 files changed, 9 insertions(+) diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi_phy.c b/drivers/gpu/drm/omapdrm/dss/hdmi_phy.c index 1f5d19c119ce..f98b750fc499 100644 --- a/drivers/gpu/drm/omapdrm/dss/hdmi_phy.c +++ b/drivers/gpu/drm/omapdrm/dss/hdmi_phy.c @@ -13,6 +13,7 @@ #include #include #include +#include #include