[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 3b63772..f6df276 100644 --- a/sound/soc/codecs/rt5677.c +++ b/sound/soc/codecs/rt5677.c @@ -3649,6 +3649,11 @@ static void rt5677_free_gpio(struct i2c_client *i2c) dev_err(&i2c->dev, "Failed to remove GPIOs: %d\n", ret); } #else +static void rt5677_gpio_config(struct rt5677_priv *rt5677, unsigned offset, + int value) +{ +} + static void rt5677_init_gpio(struct i2c_client *i2c) { }
On Thu, Oct 16, 2014 at 09:40:58AM -0700, Anatol Pomozov wrote:
Signed-off-by: Anatol Pomozov anatol.pomozov@gmail.com
Applied, with a fixed subject - this isn't just a warning, it's a build failure.
Hi
On Fri, Oct 17, 2014 at 2:48 AM, Mark Brown broonie@kernel.org wrote:
On Thu, Oct 16, 2014 at 09:40:58AM -0700, Anatol Pomozov wrote:
Signed-off-by: Anatol Pomozov anatol.pomozov@gmail.com
Applied, with a fixed subject - this isn't just a warning, it's a build failure.
Thanks!
participants (2)
-
Anatol Pomozov
-
Mark Brown