]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: Fix build without CONFIG_GPIOLIB
authorTakashi Iwai <tiwai@suse.de>
Thu, 21 Nov 2013 14:55:06 +0000 (15:55 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 25 Nov 2013 17:12:15 +0000 (17:12 +0000)
commit8778ac6be25abf0496fc614a3e77ad2ff8300353
tree57e9515e4a74e3105be919993a5ba573b47b8ea3
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
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 <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/soc.h