Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932354AbcLGR4I (ORCPT ); Wed, 7 Dec 2016 12:56:08 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34906 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752207AbcLGR4H (ORCPT ); Wed, 7 Dec 2016 12:56:07 -0500 Date: Wed, 7 Dec 2016 19:55:02 +0200 From: Krzysztof Kozlowski To: Fabian Frederick Cc: Krzysztof Kozlowski , Sylwester Nawrocki , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1 linux-next] ASoC: samsung: include gpio consumer.h Message-ID: <20161207175502.GA13187@kozik-lap> References: <1481096342-19104-1-git-send-email-fabf@skynet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1481096342-19104-1-git-send-email-fabf@skynet.be> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1145 Lines: 37 On Wed, Dec 07, 2016 at 08:39:02AM +0100, Fabian Frederick wrote: > Fix the following build errors I couldn't reproduce it on default config. Can you mention the necessary environment/defconfig/arch etc.? Patch itself looks needed. However shouldn't the driver depend also on GPIOLIB? Best regards, Krzysztof > 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] > > Signed-off-by: Fabian Frederick > --- > 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 > -- > 2.7.4 >