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: 101763 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp944601qgf; Mon, 19 Sep 2016 05:52:47 -0700 (PDT) X-Received: by 10.98.155.154 with SMTP id e26mr46408338pfk.68.1474289567052; Mon, 19 Sep 2016 05:52:47 -0700 (PDT) Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id 80si30565495pfv.253.2016.09.19.05.52.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Sep 2016 05:52:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 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" 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