Blob Blame History Raw
From 5b51b9221f711d205e361f8d1182fd6aea667296 Mon Sep 17 00:00:00 2001
From: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Date: Mon, 21 Sep 2020 13:47:46 +0300
Subject: [PATCH] ASoC: SOF: imx: add missing MODULE_LICENSE() for imx-common
References: jsc#SLE-16518
Patch-mainline: v5.10-rc1
Git-commit: 5b51b9221f711d205e361f8d1182fd6aea667296

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@canb.auug.org.au>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200921104746.2903507-1-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Takashi Iwai <tiwai@suse.de>

---
 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.16.4