aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/codecs/max98388.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-09-11 10:23:51 +0200
committerMark Brown <broonie@kernel.org>2023-09-11 12:50:08 +0100
commit832beb640e425b5d1a92d8c2002e6b8e0af693eb (patch)
treec370ec73f958e791e2dc69c53a02080115ce77ca /sound/soc/codecs/max98388.c
parentASoC: max98373: Convert to use GPIO descriptors (diff)
downloadwireguard-linux-832beb640e425b5d1a92d8c2002e6b8e0af693eb.tar.xz
wireguard-linux-832beb640e425b5d1a92d8c2002e6b8e0af693eb.zip
ASoC: max98388: Correct the includes
The MAX98388 driver is using the modern GPIO descriptor API but uses legacy includes. Include the proper <linux/consumer.h> header instead. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20230911-descriptors-asoc-max-v2-4-b9d793fb768e@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/max98388.c')
-rw-r--r--sound/soc/codecs/max98388.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/max98388.c b/sound/soc/codecs/max98388.c
index cde5e85946cb..078adec29312 100644
--- a/sound/soc/codecs/max98388.c
+++ b/sound/soc/codecs/max98388.c
@@ -3,12 +3,11 @@
#include <linux/acpi.h>
#include <linux/delay.h>
-#include <linux/gpio.h>
+#include <linux/gpio/consumer.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/of.h>
-#include <linux/of_gpio.h>
#include <linux/pm_runtime.h>
#include <linux/regmap.h>
#include <linux/slab.h>