Skip to contentSkip to conversation

ASoC: rt5677: fix warnings when kernel compiled without GPIOLIB support

PATCH In review Anatol Pomozov 2 participants 3 messages Oct 15, 2014 – Oct 16, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: rt5677: fix warnings when kernel compiled without GPIOLIB support

---
 sound/soc/codecs/rt5677.c | 5 +++++
 1 file changed, 5 insertions(+)
sound/soc/codecs/rt5677.c +5 -0
index d1fc9a1..2f0d19f 100644
@@ -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