From patchwork Mon Sep 19 12:51:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9339299 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 12BC96077A for ; Mon, 19 Sep 2016 12:52:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 03640289DB for ; Mon, 19 Sep 2016 12:52:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EAA70289E6; Mon, 19 Sep 2016 12:52:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2421B289DB for ; Mon, 19 Sep 2016 12:52:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 47D156E136; Mon, 19 Sep 2016 12:52:40 +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.126.130]) by gabe.freedesktop.org (Postfix) with ESMTPS id 92DF06E136 for ; Mon, 19 Sep 2016 12:52:37 +0000 (UTC) Received: from wuerfel.lan. ([78.43.20.153]) by mrelayeu.kundenserver.de (mreue005) with ESMTPA (Nemesis) id 0MPKwG-1bhYDG3fV2-004UO7; Mon, 19 Sep 2016 14:52:23 +0200 From: Arnd Bergmann To: Jani Nikula , David Airlie Subject: [PATCH] drm: include linux/seq_file.h as needed Date: Mon, 19 Sep 2016 14:51:52 +0200 Message-Id: <20160919125218.1565529-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:wGqC6PPW4tuwRVpdT87akoKQXLQh1+fSQazM7W8XBYq4MQ5rnog t7XgexTz18glQvBtYLSjeQRTG3DCj3vomcyW5rDOyg9wentGguV8Kttzr14XwQFV3bfRtom D/jCpby9aowpkQapJLAAxT0cZE/ylrm5p7P9zyeEOlbVhGcTrVsL0hX1F79Uc4+3ItREkhp OExoS7O8DAbBmuoymyMhQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:OdX18r79QfE=:FcwMTdKyOrsxecxdiQ7wED jDRxGXcxvP7A13W9vbdhwyDIzoR50Ct9Icy6oteEeDKx/Z39fRdcRgNPPl8qoawoLaha3CZWw RyLd8JfOrImDA25ivcxdhFsggVjOu4j4zbWf5WNyCZeGpcKm/mRCUjdQGbD2qLJqDM5wR4am7 Mn3tW91F84Z2vP3mxs6iE5pHH0C4gqv0cXbkQATbIUga3pdPaks1zvPgyFAZ+oFByWlVb4mUM XrGsPB3lo/VS5Idleg295XAz6IrLQ1icHkYRRIkB0U+J8GQxyzC6xb62/yP09So1QN5AYkDGu GHM3S3S4W8V6knJ9IxXOkoVDiJZOvyW61dBmMYBbPf+Cg3yh+0ogvcFNdHs2XeM+obyacG2aM NwQ2Qx3ri/YekqtOx2Msqw6m6+z1LRT4SlcPNRiTNzcx9zfVzCeizZL1Zrg1lhL/y66e3Vv75 V8YYV9kfkXk2jeI0DHVWNM6gSnfWEmoIdxxpa3hqIP/69tPRHzBFNxwvfGwCcJ0RizI/F7OO6 g1S1La1LMnPXrDgDLb81KCOSA5maGUusq5qN/jqSeuIRSvJ+1+PgdTYX+BvW/p1BYp/F5Giq9 Erdld8Cx4E4QD7LB/AtdyyZr1p0KB38JMK83Jz2WIGWdygCFK7PTzZhJOgXxqzBdkvaRnspYX bA1BKS4cI6JWOJLt2RvWo3Ymv132uMxNYVFuAEQ+pwqbnRiMb1RRP6e33ytlWR7GmAgA= Cc: Arnd Bergmann , Daniel Vetter , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Mika Kahola , Lyude 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" X-Virus-Scanned: ClamAV using ClamSMTP The addition of the debugfs info created references to seq_puts() and seq_printf(), but relied on the debugfs header to be included implicitly, which apparently doesn't happen all the time, as seen from this randconfig build output: drivers/gpu/drm/drm_dp_helper.c: In function 'drm_dp_downstream_debug': drivers/gpu/drm/drm_dp_helper.c:552:2: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration] drivers/gpu/drm/drm_dp_helper.c:560:3: error: implicit declaration of function 'seq_puts' [-Werror=implicit-function-declaration] Adding the extra include brings back a clean build. Fixes: 80209e5f2c42 ("drm: Add DP branch device info on debugfs") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/drm_dp_helper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c index a07adf0a07db..3e6fe82c6d64 100644 --- a/drivers/gpu/drm/drm_dp_helper.c +++ b/drivers/gpu/drm/drm_dp_helper.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include