Skip to contentSkip to conversation

ASoC: samsung: Explicitly include gpiolib header

PATCH In review Mark Brown 2 participants 3 messages Feb 2, 2022 – Feb 3, 2022

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

PATCH 1/1 ASoC: samsung: Explicitly include gpiolib header

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.

---
 sound/soc/samsung/midas_wm1811.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/samsung/midas_wm1811.c +1 -0
index a2019535a0b1..5e9dc18687cc 100644
@@ -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>
Signature · 1 line
2.30.2
author maintainer
#2 lore raw
In reply to Mark Brown
Quoted 5 lines · Mark Brown

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