]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: SDCA: Add missing header includes
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Fri, 20 Dec 2024 17:35:12 +0000 (17:35 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 24 Dec 2024 22:44:53 +0000 (22:44 +0000)
Several of the SDCA files don't include all the headers they use
locally. These are included by the point of use through other
headers, so it is not currently causing any issues. However, files
should directly include things they directly use, so add the
missing header includes.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20241220173516.907406-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sdca.h
include/sound/sdca_function.h
sound/soc/sdca/sdca_device.c
sound/soc/sdca/sdca_functions.c

index 7e138229e8f3abb08a4bfc594eaf0b4047e8cd3a..3eea1dfec16cc6d6c86fa4c0922aef7ac7bbb963 100644 (file)
@@ -9,6 +9,9 @@
 #ifndef __SDCA_H__
 #define __SDCA_H__
 
+#include <linux/types.h>
+#include <linux/kconfig.h>
+
 struct sdw_slave;
 
 #define SDCA_MAX_FUNCTION_COUNT 8
index a01eec86b9a675c6b58755dd4d6700dd7e5aacc1..6943df0851a985e9b6dd201f399c01638ff5d10a 100644 (file)
@@ -9,6 +9,8 @@
 #ifndef __SDCA_FUNCTION_H__
 #define __SDCA_FUNCTION_H__
 
+#include <linux/bits.h>
+
 /*
  * SDCA Function Types from SDCA specification v1.0a Section 5.1.2
  * all Function types not described are reserved
index 80d663777eb53a575f378071b48cda46c8651b79..b6399b773986c01f812496f630507fca327a4f2b 100644 (file)
@@ -7,6 +7,8 @@
  */
 
 #include <linux/acpi.h>
+#include <linux/module.h>
+#include <linux/property.h>
 #include <linux/soundwire/sdw.h>
 #include <sound/sdca.h>
 #include <sound/sdca_function.h>
index 652865329968685bae50f2ea43af5615ab58f5ad..1808e5e7dee28d4186d26bc484694d773dd0a14c 100644 (file)
@@ -7,7 +7,11 @@
  */
 
 #include <linux/acpi.h>
+#include <linux/device.h>
+#include <linux/module.h>
+#include <linux/property.h>
 #include <linux/soundwire/sdw.h>
+#include <linux/types.h>
 #include <sound/sdca.h>
 #include <sound/sdca_function.h>