diff mbox series

ASoC: wm_adsp: Include array_size.h

Message ID 20240410161312.22313-1-rf@opensource.cirrus.com
State Accepted
Commit 4693b120299a5893034d1882ddbbe08af1d2ff07
Headers show
Series ASoC: wm_adsp: Include array_size.h | expand

Commit Message

Richard Fitzgerald April 10, 2024, 4:13 p.m. UTC
Explicitly #include array_size.h for the ARRAY_SIZE() macro.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
---
 sound/soc/codecs/wm_adsp.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index 7d5c096e06cd..9a89682ebc1f 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -7,6 +7,7 @@ 
  * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
  */
 
+#include <linux/array_size.h>
 #include <linux/ctype.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>