From patchwork Fri Dec 9 18:12:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabian Frederick X-Patchwork-Id: 9469089 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 5778F607D8 for ; Fri, 9 Dec 2016 22:11:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46C902861C for ; Fri, 9 Dec 2016 22:11:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 395D628697; Fri, 9 Dec 2016 22:11:15 +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=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6ABBC2861C for ; Fri, 9 Dec 2016 22:11:13 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 713272678E4; Fri, 9 Dec 2016 23:11:12 +0100 (CET) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 8D9A92678B8; Fri, 9 Dec 2016 23:08:53 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 7974D26785C; Fri, 9 Dec 2016 19:13:19 +0100 (CET) Received: from mailrelay115.isp.belgacom.be (mailrelay115.isp.belgacom.be [195.238.20.142]) by alsa0.perex.cz (Postfix) with ESMTP id 5556E2667C5 for ; Fri, 9 Dec 2016 19:12:54 +0100 (CET) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2BrAgDS8kpY/9JLtVtdHAEBBAEBCgEBg?= =?us-ascii?q?zcBAQEBAR+BYI1JlzkBkkyCD4IKhiGBbkAUAQIBAQEBAQEBYiiFRSMpJkskARK?= =?us-ascii?q?Ib6w9i1yGPo8EBYcYk1ORIQKQQ5IZHzeBIYMOAQuCQD00iTwBAQE?= X-IPAS-Result: =?us-ascii?q?A2BrAgDS8kpY/9JLtVtdHAEBBAEBCgEBgzcBAQEBAR+BYI1?= =?us-ascii?q?JlzkBkkyCD4IKhiGBbkAUAQIBAQEBAQEBYiiFRSMpJkskARKIb6w9i1yGPo8EB?= =?us-ascii?q?YcYk1ORIQKQQ5IZHzeBIYMOAQuCQD00iTwBAQE?= Received: from 210.75-181-91.adsl-dyn.isp.belgacom.be (HELO inkjet2.lan) ([91.181.75.210]) by relay.skynet.be with ESMTP; 09 Dec 2016 19:12:53 +0100 From: Fabian Frederick To: Mark Brown , Krzysztof Kozlowski , Sylwester Nawrocki Date: Fri, 9 Dec 2016 19:12:50 +0100 Message-Id: <1481307170-3598-1-git-send-email-fabf@skynet.be> X-Mailer: git-send-email 2.7.4 Cc: fabf@skynet.be, alsa-devel@alsa-project.org, Geert Uytterhoeven , linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH V3 1/2] ASoC: samsung: include gpio consumer.h X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Fix the following build errors on X86_32 !GPIOLIB sound/soc/samsung/tm2_wm5110.c:220:3: error: implicit declaration of function 'gpiod_set_value_cansleep' [-Werror=implicit-function-declaration] sound/soc/samsung/tm2_wm5110.c:438:24: error: implicit declaration of function 'devm_gpiod_get' [-Werror=implicit-function-declaration] Reviewed-by: Krzysztof Kozlowski Signed-off-by: Fabian Frederick --- V3: -Add reviewed-by V2: -Add configuration settings (suggested by Krzysztof Kozlowski) sound/soc/samsung/tm2_wm5110.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/samsung/tm2_wm5110.c b/sound/soc/samsung/tm2_wm5110.c index 5cdf7d1..24cc9d6 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