mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Richard Fitzgerald <rf@opensource.cirrus.com>
To: <broonie@kernel.org>
Cc: <alsa-devel@alsa-project.org>, <linux-kernel@vger.kernel.org>,
	<patches@opensource.cirrus.com>,
	Richard Fitzgerald <rf@opensource.cirrus.com>
Subject: [PATCH 2/5] ASoC: cs42l42: Add include dependencies to cs42l42.h
Date: Wed, 17 Aug 2022 13:23:44 +0100	[thread overview]
Message-ID: <20220817122347.1356773-3-rf@opensource.cirrus.com> (raw)
In-Reply-To: <20220817122347.1356773-1-rf@opensource.cirrus.com>

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


  parent reply	other threads:[~2022-08-17 12:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-17 12:23 [PATCH 0/5] ASoC: cs42l42: Some small code improvements Richard Fitzgerald
2022-08-17 12:23 ` [PATCH 1/5] ASoC: cs42l42: Don't include kernel.h Richard Fitzgerald
2022-08-17 12:23 ` Richard Fitzgerald [this message]
2022-08-17 12:23 ` [PATCH 3/5] ASoC: cs42l42: Move cs42l42_supply_names to .c file Richard Fitzgerald
2022-08-17 12:23 ` [PATCH 4/5] ASoC: cs42l42: Fix comment typo in cs42l42_slow_start_put() Richard Fitzgerald
2022-08-17 12:23 ` [PATCH 5/5] ASoC: cs42l42: Use snd_soc_tdm_params_to_bclk() Richard Fitzgerald
2022-08-17 17:05 ` [PATCH 0/5] ASoC: cs42l42: Some small code improvements Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220817122347.1356773-3-rf@opensource.cirrus.com \
    --to=rf@opensource.cirrus.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patches@opensource.cirrus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®