diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2022-08-17 14:23:44 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-08-17 14:58:47 +0200 |
commit | b48d1da00fc8f32f7f75b8a34eb484f08b39ffaa (patch) | |
tree | 6770e4b0c83c2824f0b5517253209cbdb3a260f2 /sound/soc/codecs/cs42l42.h | |
parent | ASoC: cs42l42: Don't include kernel.h (diff) | |
download | linux-b48d1da00fc8f32f7f75b8a34eb484f08b39ffaa.tar.xz linux-b48d1da00fc8f32f7f75b8a34eb484f08b39ffaa.zip |
ASoC: cs42l42: Add include dependencies to cs42l42.h
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>
Diffstat (limited to 'sound/soc/codecs/cs42l42.h')
-rw-r--r-- | sound/soc/codecs/cs42l42.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/codecs/cs42l42.h b/sound/soc/codecs/cs42l42.h index 5f50970375d4..1d53e0e050ee 100644 --- 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> |