From patchwork Mon May 9 21:51:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9050341 Return-Path: X-Original-To: patchwork-dri-devel@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 4C54CBF29F for ; Mon, 9 May 2016 21:53:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4C4392012B for ; Mon, 9 May 2016 21:53:31 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 604D520114 for ; Mon, 9 May 2016 21:53:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7BC096E22F; Mon, 9 May 2016 21:53:29 +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 [217.72.192.75]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3BB976E22F for ; Mon, 9 May 2016 21:53:28 +0000 (UTC) Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0MFcKD-1anYtQ1a6v-00Ebj8; Mon, 09 May 2016 23:52:57 +0200 From: Arnd Bergmann To: Benjamin Gaignard , David Airlie Subject: [PATCH 2/2] drm/sti: include linux/seq_file.h where needed Date: Mon, 9 May 2016 23:51:28 +0200 Message-Id: <1462830733-1710590-2-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1462830733-1710590-1-git-send-email-arnd@arndb.de> References: <1462830733-1710590-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:8uA8hxsP3wLDSQ1rr/+dTA57Yaxk7CJJP4420oF3sqfT+I9KySG aQ3vNFhfGGvpVxfjIkpwu79gEr7gLJjctWRTfD2aW69W50ypAoXnLnYcFCFwLxWylAUh+1T btq74T6lg1Rb2QH4r/S0FKVoI5zH75szbY+VUmsMcUD8pHh8JroxUWl5sCRWJmD8LNGeFsB lOx9hdKKl/wx8JIsSB5ZA== X-UI-Out-Filterresults: notjunk:1; V01:K0:Bx9jDfh4tqU=:mgLSagYx7w94eWKGzA/wow v5x2ywiydw9RpZsZfleiJxz/iVNrX5YMC47JocmGl1EGsknMui+xxeG8a8AZRkQ92trA6lvk2 MSYhVuXD0QUmP2xNRDMvOSA6zA2Q2i3BYr7FYN70SKyaE2NryyMZWjd2TrJh57k2bdh+daTGt VI5RVobqWYdNizBPOXsIIKgLNrDr3sa16NxdLCM4onvTE7DfuyEHUFs7aEi1dKeKfrb5gyL5L JU1iT/W9lQyHBhR2CL4KU7PkVLPsJTw/0a/nTIYodpFn7DswAdZcJgYhRuL7dOvh7NEWeD3M2 pmhW3YlrOqXs6pNwgiBaFZ6yv8DIu/CQSwCmquJaomenYwK9gTY8w0s2kUSFDWUfEFnvxFbJJ cOqF8j9vv2HMBr1p0gj3QeRDmInzju9gwTRp0s38eZFaCKSO4X4tnYYV2m5RsQAoNovTCe41C 5E4jQG0YT47A/hL110SZcAO6SQi6GqoRBqfQpIKgq+IZ4NHVCxFuouRcEBpMygB3qR0JhINkc dvGk3tRVz4UJKzcjZxPTTLItDP4q49wprRjqdpHYCrWN7R0rjsgV9v2blW84ZVW9NwsBH0rvZ ocrqNROkF84dos8/7VJTwql/TJrTvCSX76/LwSc22zGaxANa0nfLJ6eggf5ikAiy6ad0hbEkz KOv7zNM56if267VDrNOw1u77JEODZyI4wiDqsdXZkflObb1oxgXkwgQuBrdavuWFlQ9k= Cc: Arnd Bergmann , Daniel Vetter , "Luis R. Rodriguez" , Carlos Palminha , Fabien Dessenne , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Nicolas VANHAELEWYN , Bich Hemon , Thierry Reding , Vincent Abriou 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-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 sti drm driver has a lot of debugfs interface that cause build errors in some configurations when seq_file.h is not included implicitly: drm/sti/sti_mixer.c: In function 'mixer_dbg_ctl': drm/sti/sti_mixer.c:88:2: error: implicit declaration of function 'seq_puts' [-Werror=implicit-function-declaration] drm/sti/sti_mixer.c:91:4: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration] drm/sti/sti_gdp.c: In function 'gdp_dbg_ctl': drm/sti/sti_gdp.c:146:2: error: implicit declaration of function 'seq_puts' [-Werror=implicit-function-declaration] drm/sti/sti_gdp.c:149:4: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration] drm/sti/sti_gdp.c: In function 'gdp_dbg_show': drm/sti/sti_gdp.c:208:32: error: dereferencing pointer to incomplete type 'struct seq_file' This adds an explicit #include statement in all of the affected files. Signed-off-by: Arnd Bergmann Acked-by: Benjamin Gaignard --- drivers/gpu/drm/sti/sti_cursor.c | 2 ++ drivers/gpu/drm/sti/sti_gdp.c | 1 + drivers/gpu/drm/sti/sti_hda.c | 1 + drivers/gpu/drm/sti/sti_hqvdp.c | 1 + drivers/gpu/drm/sti/sti_mixer.c | 1 + drivers/gpu/drm/sti/sti_tvout.c | 1 + drivers/gpu/drm/sti/sti_vid.c | 1 + 7 files changed, 8 insertions(+) diff --git a/drivers/gpu/drm/sti/sti_cursor.c b/drivers/gpu/drm/sti/sti_cursor.c index 3abb400151ac..4e990299735c 100644 --- a/drivers/gpu/drm/sti/sti_cursor.c +++ b/drivers/gpu/drm/sti/sti_cursor.c @@ -6,6 +6,8 @@ * License terms: GNU General Public License (GPL), version 2 */ +#include + #include #include #include diff --git a/drivers/gpu/drm/sti/sti_gdp.c b/drivers/gpu/drm/sti/sti_gdp.c index ff3d3e7e7704..ff33c38da197 100644 --- a/drivers/gpu/drm/sti/sti_gdp.c +++ b/drivers/gpu/drm/sti/sti_gdp.c @@ -5,6 +5,7 @@ * for STMicroelectronics. * License terms: GNU General Public License (GPL), version 2 */ +#include #include #include diff --git a/drivers/gpu/drm/sti/sti_hda.c b/drivers/gpu/drm/sti/sti_hda.c index ec0d017eaf1a..f7d3464cdf09 100644 --- a/drivers/gpu/drm/sti/sti_hda.c +++ b/drivers/gpu/drm/sti/sti_hda.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include diff --git a/drivers/gpu/drm/sti/sti_hqvdp.c b/drivers/gpu/drm/sti/sti_hqvdp.c index e05b0dc523ff..1edec29b9e45 100644 --- a/drivers/gpu/drm/sti/sti_hqvdp.c +++ b/drivers/gpu/drm/sti/sti_hqvdp.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include diff --git a/drivers/gpu/drm/sti/sti_mixer.c b/drivers/gpu/drm/sti/sti_mixer.c index e7425c38fc93..aed7801b51f7 100644 --- a/drivers/gpu/drm/sti/sti_mixer.c +++ b/drivers/gpu/drm/sti/sti_mixer.c @@ -5,6 +5,7 @@ * for STMicroelectronics. * License terms: GNU General Public License (GPL), version 2 */ +#include #include "sti_compositor.h" #include "sti_mixer.h" diff --git a/drivers/gpu/drm/sti/sti_tvout.c b/drivers/gpu/drm/sti/sti_tvout.c index 2c99016443e5..f983db5a59da 100644 --- a/drivers/gpu/drm/sti/sti_tvout.c +++ b/drivers/gpu/drm/sti/sti_tvout.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include diff --git a/drivers/gpu/drm/sti/sti_vid.c b/drivers/gpu/drm/sti/sti_vid.c index 5a2c5dc3687b..523ed19f5ac6 100644 --- a/drivers/gpu/drm/sti/sti_vid.c +++ b/drivers/gpu/drm/sti/sti_vid.c @@ -3,6 +3,7 @@ * Author: Fabien Dessenne for STMicroelectronics. * License terms: GNU General Public License (GPL), version 2 */ +#include #include