From: Takashi Iwai Date: Thu, 21 Nov 2013 14:55:06 +0000 (+0100) Subject: ASoC: Fix build without CONFIG_GPIOLIB X-Git-Tag: v3.14-rc1~143^2~1^2~38^2^23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8778ac6be25abf0496fc614a3e77ad2ff8300353;p=pandora-kernel.git ASoC: Fix build without CONFIG_GPIOLIB snd_soc_jack_gpio stuff is currently enabled for CONFIG_GPIOLIB explicitly with ifdef, and this causes build errors on some drivers such as: sound/soc/omap/rx51.c:220:33: error: array type has incomplete element type Remove ifdef and provide dummy functions for CONFIG_GPIOLIB=n case instead. Signed-off-by: Takashi Iwai Signed-off-by: Mark Brown --- Reading git-diff-tree failed