projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a4bd60
)
ASoC: rt5677: fix build when kernel compiled without GPIOLIB support
author
Anatol Pomozov
<anatol.pomozov@gmail.com>
Thu, 16 Oct 2014 16:40:58 +0000
(09:40 -0700)
committer
Mark Brown
<broonie@kernel.org>
Mon, 20 Oct 2014 11:22:21 +0000
(12:22 +0100)
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5677.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/rt5677.c
b/sound/soc/codecs/rt5677.c
index caada9192f0fc494882b23597b0850d8d0805658..d17d079fdcf3c01d932b64ba738f636043d767a8 100644
(file)
--- 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)
{
}