diff mbox series

ASoC: samsung: Explicitly include gpiolib header

Message ID 20220202191322.3650708-1-broonie@kernel.org (mailing list archive)
State Accepted
Commit ed482dc8c76db7613c08f39b09c6b98718c92940
Headers show
Series ASoC: samsung: Explicitly include gpiolib header | expand

Commit Message

Mark Brown Feb. 2, 2022, 7:13 p.m. UTC
midas_wm811 uses gpiolib but relies on the header being implicitly included
which can lead to build failures in some configurations, explicitly pull
the header in to avoid problems.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/samsung/midas_wm1811.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Krzysztof Kozlowski Feb. 3, 2022, 7:44 a.m. UTC | #1
On 02/02/2022 20:13, Mark Brown wrote:
> midas_wm811 uses gpiolib but relies on the header being implicitly included
> which can lead to build failures in some configurations, explicitly pull
> the header in to avoid problems.
> 
> Signed-off-by: Mark Brown <broonie@kernel.org>
> ---
>  sound/soc/samsung/midas_wm1811.c | 1 +
>  1 file changed, 1 insertion(+)
> 


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>


Best regards,
Krzysztof
Mark Brown Feb. 3, 2022, 3:19 p.m. UTC | #2
On Wed, 2 Feb 2022 19:13:22 +0000, Mark Brown wrote:
> midas_wm811 uses gpiolib but relies on the header being implicitly included
> which can lead to build failures in some configurations, explicitly pull
> the header in to avoid problems.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: samsung: Explicitly include gpiolib header
      commit: ed482dc8c76db7613c08f39b09c6b98718c92940

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/sound/soc/samsung/midas_wm1811.c b/sound/soc/samsung/midas_wm1811.c
index a2019535a0b1..5e9dc18687cc 100644
--- a/sound/soc/samsung/midas_wm1811.c
+++ b/sound/soc/samsung/midas_wm1811.c
@@ -6,6 +6,7 @@ 
 // Copyright (C) 2020 Samsung Electronics Co., Ltd.
 
 #include <linux/clk.h>
+#include <linux/gpio/consumer.h>
 #include <linux/mfd/wm8994/registers.h>
 #include <linux/module.h>
 #include <linux/of.h>