Messages in this thread Patch in this message | | | From | Richard Fitzgerald <> | Subject | [PATCH 2/5] ASoC: cs42l42: Add include dependencies to cs42l42.h | Date | Wed, 17 Aug 2022 13:23:44 +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> --- sound/soc/codecs/cs42l42.h | 5 +++++ 1 file changed, 5 insertions(+)
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> -- 2.30.2
| |