[alsa-devel] [PATCH] ASoC: rt5677: fix warnings when kernel compiled without GPIOLIB support
Signed-off-by: Anatol Pomozov anatol.pomozov@gmail.com --- sound/soc/codecs/rt5677.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/sound/soc/codecs/rt5677.c b/sound/soc/codecs/rt5677.c index d1fc9a1..2f0d19f 100644 --- a/sound/soc/codecs/rt5677.c +++ b/sound/soc/codecs/rt5677.c @@ -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) { }
On Wed, Oct 15, 2014 at 09:30:49AM -0700, Anatol Pomozov wrote:
Signed-off-by: Anatol Pomozov anatol.pomozov@gmail.com
This doesn't apply against current code, please check and resend.
Hi
On Thu, Oct 16, 2014 at 12:43 AM, Mark Brown broonie@kernel.org wrote:
On Wed, Oct 15, 2014 at 09:30:49AM -0700, Anatol Pomozov wrote:
Signed-off-by: Anatol Pomozov anatol.pomozov@gmail.com
This doesn't apply against current code, please check and resend.
Ok, I will rebase it on top of topic/rt5677 branch.
participants (2)
-
Anatol Pomozov
-
Mark Brown