projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ccaa7e
)
ASoC: cs42l42: Add include dependencies to cs42l42.h
author
Richard Fitzgerald
<rf@opensource.cirrus.com>
Wed, 17 Aug 2022 12:23:44 +0000
(13:23 +0100)
committer
Mark Brown
<broonie@kernel.org>
Wed, 17 Aug 2022 12:58:47 +0000
(13:58 +0100)
Make cs42l42.h include the other headers it depends on instead of
assuming that the .c file already included them.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link:
https://lore.kernel.org/r/20220817122347.1356773-3-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l42.h
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cs42l42.h
b/sound/soc/codecs/cs42l42.h
index 5f50970375d4f4a84347c308b4c662bd66605c40..1d53e0e050eeecb820e951eaaf4b9d56465d01c8 100644
(file)
--- a/
sound/soc/codecs/cs42l42.h
+++ b/
sound/soc/codecs/cs42l42.h
@@
-12,7
+12,12
@@
#ifndef __CS42L42_H__
#define __CS42L42_H__
+#include <dt-bindings/sound/cs42l42.h>
+#include <linux/device.h>
+#include <linux/gpio.h>
#include <linux/mutex.h>
+#include <linux/regmap.h>
+#include <linux/regulator/consumer.h>
#include <sound/jack.h>
#include <sound/cs42l42.h>