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:
6256547
)
ASoC: cs42l42: Don't include kernel.h
author
Richard Fitzgerald
<rf@opensource.cirrus.com>
Wed, 17 Aug 2022 12:23:43 +0000
(13:23 +0100)
committer
Mark Brown
<broonie@kernel.org>
Wed, 17 Aug 2022 12:58:46 +0000
(13:58 +0100)
kernel.h includes a lot of other headers that we don't need.
Replace with an include of types.h.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link:
https://lore.kernel.org/r/20220817122347.1356773-2-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l42.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cs42l42.c
b/sound/soc/codecs/cs42l42.c
index
d545a59
..
c212112
100644
(file)
--- a/
sound/soc/codecs/cs42l42.c
+++ b/
sound/soc/codecs/cs42l42.c
@@
-12,7
+12,7
@@
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/version.h>
-#include <linux/
kernel
.h>
+#include <linux/
types
.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/i2c.h>