Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932466AbcLHUnd (ORCPT ); Thu, 8 Dec 2016 15:43:33 -0500 Received: from mailrelay119.isp.belgacom.be ([195.238.20.146]:65488 "EHLO mailrelay119.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932167AbcLHUnc (ORCPT ); Thu, 8 Dec 2016 15:43:32 -0500 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2CiAgAPxUlY/9JLtVtdHgYMgm5JAQEBA?= =?us-ascii?q?QEfgWClBAGSS4IPggiGIYF7QBQBAgEBAQEBAQFiKIVFIylxJAESiG+pWoQUh02?= =?us-ascii?q?GPo8EBYcYk1KRHwKQP5IWHzeBGYMLAYJLPTSJGQEBAQ?= X-IPAS-Result: =?us-ascii?q?A2CiAgAPxUlY/9JLtVtdHgYMgm5JAQEBAQEfgWClBAGSS4I?= =?us-ascii?q?PggiGIYF7QBQBAgEBAQEBAQFiKIVFIylxJAESiG+pWoQUh02GPo8EBYcYk1KRH?= =?us-ascii?q?wKQP5IWHzeBGYMLAYJLPTSJGQEBAQ?= From: Fabian Frederick To: Mark Brown , Krzysztof Kozlowski , Sylwester Nawrocki Cc: Geert Uytterhoeven , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, fabf@skynet.be Subject: [PATCH V2 2/2] ASoC: samsung: add GPIOLIB dependency Date: Thu, 8 Dec 2016 21:43:19 +0100 Message-Id: <1481229799-17532-1-git-send-email-fabf@skynet.be> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1232 Lines: 38 Both SND_SOC_SMARTQ and SND_SOC_SAMSUNG_TM2_WM5110 use gpio/consumer.h This patch adds GPIOLIB || COMPILE_TEST to Kconfig entries to avoid any build errors. See commit 638f958baeaf ("extcon: Allow compile test of GPIO consumers if !GPIOLIB") for similar problem and explanations. Reported-by: Krzysztof Kozlowski Signed-off-by: Fabian Frederick --- sound/soc/samsung/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/samsung/Kconfig b/sound/soc/samsung/Kconfig index 7c42315..f1f1d79 100644 --- a/sound/soc/samsung/Kconfig +++ b/sound/soc/samsung/Kconfig @@ -111,6 +111,7 @@ config SND_SOC_SAMSUNG_RX1950_UDA1380 config SND_SOC_SMARTQ tristate "SoC I2S Audio support for SmartQ board" depends on MACH_SMARTQ || COMPILE_TEST + depends on GPIOLIB || COMPILE_TEST depends on I2C select SND_SAMSUNG_I2S select SND_SOC_WM8750 @@ -193,6 +194,7 @@ config SND_SOC_ARNDALE_RT5631_ALC5631 config SND_SOC_SAMSUNG_TM2_WM5110 tristate "SoC I2S Audio support for WM5110 on TM2 board" depends on SND_SOC_SAMSUNG && MFD_ARIZONA && I2C && SPI_MASTER + depends on GPIOLIB || COMPILE_TEST select SND_SOC_MAX98504 select SND_SOC_WM5110 select SND_SAMSUNG_I2S -- 2.7.4