ASoC: samsung: Explicitly include gpiolib header
authorMark Brown <broonie@kernel.org>
Wed, 2 Feb 2022 19:13:22 +0000 (19:13 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 3 Feb 2022 11:31:00 +0000 (11:31 +0000)
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>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20220202191322.3650708-1-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/midas_wm1811.c

index a2019535a0b10332ad5dc0ba420b94fd8e646c5c..5e9dc18687cc3bc6e268666ccb559d0c8a74a5da 100644 (file)
@@ -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>