ASoC: rt5677: fix warnings when kernel compiled without GPIOLIB support
Subsystems (3)
PATCH 1/1 ASoC: rt5677: fix warnings when kernel compiled without GPIOLIB support
Signed-off-by Anatol Pomozov <[email protected]>
--- sound/soc/codecs/rt5677.c | 5 +++++ 1 file changed, 5 insertions(+)
sound/soc/codecs/rt5677.c +5 -0
@@ -3686,6 +3686,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) { }
Signature · 1 line
2.1.0.rc2.206.gedb03e5
Mark Brown
maintainerQuoted 1 line · Anatol Pomozov
Signed-off-by Anatol Pomozov <[email protected]>
This doesn't apply against current code, please check and resend.
Hi
Quoted 4 lines · Mark Brown
Quoted 1 line · Anatol Pomozov
Signed-off-by Anatol Pomozov <[email protected]>This doesn't apply against current code, please check and resend.
Ok, I will rebase it on top of topic/rt5677 branch.