Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45b6e1d3 authored by Anatol Pomozov's avatar Anatol Pomozov Committed by Mark Brown
Browse files

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

parent 8a4bd60a
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -3646,6 +3646,11 @@ static void rt5677_free_gpio(struct i2c_client *i2c)
	gpiochip_remove(&rt5677->gpio_chip);
	gpiochip_remove(&rt5677->gpio_chip);
}
}
#else
#else
static void rt5677_gpio_config(struct rt5677_priv *rt5677, unsigned offset,
		int value)
{
}

static void rt5677_init_gpio(struct i2c_client *i2c)
static void rt5677_init_gpio(struct i2c_client *i2c)
{
{
}
}