Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: SDCA: Add missing header includes

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>

authored by

Charles Keepax and committed by
Mark Brown
deb01520 ee37bc7e

+11
+3
include/sound/sdca.h
··· 9 9 #ifndef __SDCA_H__ 10 10 #define __SDCA_H__ 11 11 12 + #include <linux/types.h> 13 + #include <linux/kconfig.h> 14 + 12 15 struct sdw_slave; 13 16 14 17 #define SDCA_MAX_FUNCTION_COUNT 8
+2
include/sound/sdca_function.h
··· 9 9 #ifndef __SDCA_FUNCTION_H__ 10 10 #define __SDCA_FUNCTION_H__ 11 11 12 + #include <linux/bits.h> 13 + 12 14 /* 13 15 * SDCA Function Types from SDCA specification v1.0a Section 5.1.2 14 16 * all Function types not described are reserved
+2
sound/soc/sdca/sdca_device.c
··· 7 7 */ 8 8 9 9 #include <linux/acpi.h> 10 + #include <linux/module.h> 11 + #include <linux/property.h> 10 12 #include <linux/soundwire/sdw.h> 11 13 #include <sound/sdca.h> 12 14 #include <sound/sdca_function.h>
+4
sound/soc/sdca/sdca_functions.c
··· 7 7 */ 8 8 9 9 #include <linux/acpi.h> 10 + #include <linux/device.h> 11 + #include <linux/module.h> 12 + #include <linux/property.h> 10 13 #include <linux/soundwire/sdw.h> 14 + #include <linux/types.h> 11 15 #include <sound/sdca.h> 12 16 #include <sound/sdca_function.h> 13 17