public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: cs42l43: don't include '<linux/find.h>' directly
@ 2024-12-17  7:05 Wolfram Sang
  2024-12-17 10:25 ` Charles Keepax
  2024-12-17 15:48 ` Mark Brown
  0 siblings, 2 replies; 5+ messages in thread
From: Wolfram Sang @ 2024-12-17  7:05 UTC (permalink / raw)
  To: linux-kernel
  Cc: Wolfram Sang, David Rhodes, Richard Fitzgerald, Liam Girdwood,
	Mark Brown, Jaroslav Kysela, Takashi Iwai, linux-sound, patches

The header clearly states that it does not want to be included directly,
only via '<linux/bitmap.h>'. Replace the include accordingly.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 sound/soc/codecs/cs42l43.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/cs42l43.c b/sound/soc/codecs/cs42l43.c
index 4236f78beec0..bee032c3ebbe 100644
--- a/sound/soc/codecs/cs42l43.c
+++ b/sound/soc/codecs/cs42l43.c
@@ -12,7 +12,7 @@
 #include <linux/device.h>
 #include <linux/err.h>
 #include <linux/errno.h>
-#include <linux/find.h>
+#include <linux/bitmap.h>
 #include <linux/gcd.h>
 #include <linux/irq.h>
 #include <linux/irqdomain.h>
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [PATCH] ASoC: cs42l43: don't include '<linux/find.h>' directly
@ 2024-12-23  3:44 Ethan Carter Edwards
  2024-12-23  3:49 ` Ethan Carter Edwards
  0 siblings, 1 reply; 5+ messages in thread
From: Ethan Carter Edwards @ 2024-12-23  3:44 UTC (permalink / raw)
  To: david.rhodes@cirrus.com
  Cc: linux-kernel@vger.kernel.org, rf@opensource.cirrus.com,
	patches@opensource.cirrus.com, linux-sound@vger.kernel.org

The header in <linux/find.h> explicitly states that it should not be
included directly and instead use bitmap.h.

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
---
 sound/soc/codecs/cs42l43.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/cs42l43.c b/sound/soc/codecs/cs42l43.c
index 4236f78beec0..bee032c3ebbe 100644
--- a/sound/soc/codecs/cs42l43.c
+++ b/sound/soc/codecs/cs42l43.c
@@ -12,7 +12,7 @@
 #include <linux/device.h>
 #include <linux/err.h>
 #include <linux/errno.h>
-#include <linux/find.h>
+#include <linux/bitmap.h>
 #include <linux/gcd.h>
 #include <linux/irq.h>
 #include <linux/irqdomain.h>
-- 
2.47.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-12-23  3:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-17  7:05 [PATCH] ASoC: cs42l43: don't include '<linux/find.h>' directly Wolfram Sang
2024-12-17 10:25 ` Charles Keepax
2024-12-17 15:48 ` Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2024-12-23  3:44 Ethan Carter Edwards
2024-12-23  3:49 ` Ethan Carter Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox