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>
This commit is contained in:
parent
8a4bd60af4
commit
45b6e1d300
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue