From patchwork Tue Jan 10 15:30:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 104553 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp1066918obz; Tue, 10 Jan 2017 07:31:42 -0800 (PST) X-Received: by 10.84.137.1 with SMTP id 1mr5801350plm.132.1484062302325; Tue, 10 Jan 2017 07:31:42 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n1si2478051pgc.121.2017.01.10.07.31.41; Tue, 10 Jan 2017 07:31:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764339AbdAJPb2 (ORCPT + 25 others); Tue, 10 Jan 2017 10:31:28 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:63889 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933145AbdAJPbY (ORCPT ); Tue, 10 Jan 2017 10:31:24 -0500 Received: from wuerfel.lan ([78.43.21.235]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPA (Nemesis) id 0MS2e2-1c3D852MH4-00TGpF; Tue, 10 Jan 2017 16:31:07 +0100 From: Arnd Bergmann To: Mark Brown Cc: Arnd Bergmann , Krzysztof Kozlowski , Sangbeom Kim , Sylwester Nawrocki , Liam Girdwood , Charles Keepax , Inha Song , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: tm2_wm5110: include gpio/consumer.h Date: Tue, 10 Jan 2017 16:30:50 +0100 Message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czGvc= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org gpiod_set_value_cansleep is declared in linux/gpio/consumer.h, but that is not always included implicitly, so we have to include both gpio.h and gpio/consumer.h here: sound/soc/samsung/tm2_wm5110.c: In function 'tm2_mic_bias': sound/soc/samsung/tm2_wm5110.c:220:3: error: implicit declaration of function 'gpiod_set_value_cansleep';did you mean 'gpio_set_value_cansleep'? [-Werror=implicit-function-declaration] Fixes: 1bfbc260a5b4 ("ASoC: samsung: Add machine driver for Exynos5433 based TM2 board") Signed-off-by: Arnd Bergmann --- sound/soc/samsung/tm2_wm5110.c | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 diff --git a/sound/soc/samsung/tm2_wm5110.c b/sound/soc/samsung/tm2_wm5110.c index 5cdf7d19b87f..24cc9d63ce87 100644 --- a/sound/soc/samsung/tm2_wm5110.c +++ b/sound/soc/samsung/tm2_wm5110.c @@ -12,6 +12,7 @@ #include #include +#include #include #include #include