diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2014-10-16 09:40:58 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-20 12:22:21 +0100 |
commit | 45b6e1d300b034678c42369aad3b27d37854d1fb (patch) | |
tree | 425f6232d842df0bae1d9f3c412a2cd93601c0fe /sound | |
parent | 8a4bd60af4cbdfbdaab6dec6ab86471733197a4f (diff) | |
download | linux-stable-45b6e1d300b034678c42369aad3b27d37854d1fb.tar.gz linux-stable-45b6e1d300b034678c42369aad3b27d37854d1fb.tar.bz2 linux-stable-45b6e1d300b034678c42369aad3b27d37854d1fb.zip |
ASoC: rt5677: fix build when kernel compiled without GPIOLIB support
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/rt5677.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5677.c b/sound/soc/codecs/rt5677.c index caada9192f0f..d17d079fdcf3 100644 --- a/sound/soc/codecs/rt5677.c +++ b/sound/soc/codecs/rt5677.c @@ -3646,6 +3646,11 @@ static void rt5677_free_gpio(struct i2c_client *i2c) gpiochip_remove(&rt5677->gpio_chip); } #else +static void rt5677_gpio_config(struct rt5677_priv *rt5677, unsigned offset, + int value) +{ +} + static void rt5677_init_gpio(struct i2c_client *i2c) { } |