projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3091d0
)
ASoC: max98388: Correct the includes
author
Linus Walleij
<linus.walleij@linaro.org>
Mon, 11 Sep 2023 08:23:51 +0000
(10:23 +0200)
committer
Mark Brown
<broonie@kernel.org>
Mon, 11 Sep 2023 11:50:08 +0000
(12:50 +0100)
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>
sound/soc/codecs/max98388.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/max98388.c
b/sound/soc/codecs/max98388.c
index cde5e85946cb88f13193ebd4a172405e5c6c4a09..078adec29312d0cebe69f395d3302d7289b9edc8 100644
(file)
--- 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>