[PATCH] ASoC: SOF: imx: add missing MODULE_LICENSE() for imx-common
Kai Vehmanen
kai.vehmanen at linux.intel.com
Mon Sep 21 12:47:46 CEST 2020
Fix build warning:
WARNING: modpost: missing MODULE_LICENSE() in sound/soc/sof/imx/imx-common.o
Fixes: 18ebffe4d043 ("ASoC: SOF: imx: Add debug support for imx platforms")
Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
Signed-off-by: Kai Vehmanen <kai.vehmanen at linux.intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta at gmail.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
---
sound/soc/sof/imx/imx-common.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sound/soc/sof/imx/imx-common.c b/sound/soc/sof/imx/imx-common.c
index 63d8a5d7bc44..5fee637834c2 100644
--- a/sound/soc/sof/imx/imx-common.c
+++ b/sound/soc/sof/imx/imx-common.c
@@ -4,6 +4,7 @@
//
// Common helpers for the audio DSP on i.MX8
+#include <linux/module.h>
#include <sound/sof/xtensa.h>
#include "../ops.h"
@@ -70,3 +71,5 @@ void imx8_dump(struct snd_sof_dev *sdev, u32 flags)
IMX8_STACK_DUMP_SIZE);
}
EXPORT_SYMBOL(imx8_dump);
+
+MODULE_LICENSE("Dual BSD/GPL");
--
2.27.0
More information about the Alsa-devel
mailing list