ASoC: samsung: add GPIOLIB dependency
authorFabian Frederick <fabf@skynet.be>
Fri, 9 Dec 2016 18:13:26 +0000 (19:13 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 15 Dec 2016 11:42:15 +0000 (11:42 +0000)
commit0223f500aa39a2b6df00af212da736232705be3e
tree26a5c12264c7ab2d946238cea6044eab70be29fc
parent5d079fdc12ffe1f939890035f5172374b5c0f2be
ASoC: samsung: add GPIOLIB dependency

Both SND_SOC_SMARTQ and SND_SOC_SAMSUNG_TM2_WM5110
use gpio/consumer.h
This patch adds GPIOLIB || COMPILE_TEST to Kconfig entries
to fix runtime dependency.

See commit 638f958baeaf
("extcon: Allow compile test of GPIO consumers if !GPIOLIB")

for similar problem and explanations.

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Reported-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/Kconfig