diff mbox

[-next] ASoC: omap: add sdma-pcm.c MODULE_LICENSE

Message ID 2bf2991a-da55-00a4-bc39-a0ee61bad4d0@infradead.org (mailing list archive)
State New, archived
Headers show

Commit Message

Randy Dunlap May 13, 2018, 1:41 a.m. UTC
From: Randy Dunlap <rdunlap@infradead.org>

ASoC: omap: add sdma-pcm.c MODULE_LICENSE

Fixes this build warning:

WARNING: modpost: missing MODULE_LICENSE() in sound/soc/omap/snd-soc-sdma.o

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: Jarkko Nikula <jarkko.nikula@bitmer.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
---
 sound/soc/omap/sdma-pcm.c |    3 +++
 1 file changed, 3 insertions(+)


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Peter Ujfalusi May 14, 2018, 6:45 a.m. UTC | #1
Hi,

On 2018-05-13 04:41, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> ASoC: omap: add sdma-pcm.c MODULE_LICENSE
> 
> Fixes this build warning:
> 
> WARNING: modpost: missing MODULE_LICENSE() in sound/soc/omap/snd-soc-sdma.o

I have already submitted a fix:
http://mailman.alsa-project.org/pipermail/alsa-devel/2018-May/135940.html

> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
> Cc: Jarkko Nikula <jarkko.nikula@bitmer.com>
> Cc: Liam Girdwood <lgirdwood@gmail.com>
> Cc: Mark Brown <broonie@kernel.org>
> ---
>  sound/soc/omap/sdma-pcm.c |    3 +++
>  1 file changed, 3 insertions(+)
> 
> --- linux-next-20180510.orig/sound/soc/omap/sdma-pcm.c
> +++ linux-next-20180510/sound/soc/omap/sdma-pcm.c
> @@ -9,6 +9,7 @@
>  #include <sound/pcm_params.h>
>  #include <sound/soc.h>
>  #include <sound/dmaengine_pcm.h>
> +#include <linux/module.h>
>  #include <linux/omap-dma.h>
>  
>  #include "sdma-pcm.h"
> @@ -66,3 +67,5 @@ int sdma_pcm_platform_register(struct de
>  	return devm_snd_dmaengine_pcm_register(dev, config, flags);
>  }
>  EXPORT_SYMBOL_GPL(sdma_pcm_platform_register);
> +
> +MODULE_LICENSE("GPL v2");
> 

- Péter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- linux-next-20180510.orig/sound/soc/omap/sdma-pcm.c
+++ linux-next-20180510/sound/soc/omap/sdma-pcm.c
@@ -9,6 +9,7 @@ 
 #include <sound/pcm_params.h>
 #include <sound/soc.h>
 #include <sound/dmaengine_pcm.h>
+#include <linux/module.h>
 #include <linux/omap-dma.h>
 
 #include "sdma-pcm.h"
@@ -66,3 +67,5 @@  int sdma_pcm_platform_register(struct de
 	return devm_snd_dmaengine_pcm_register(dev, config, flags);
 }
 EXPORT_SYMBOL_GPL(sdma_pcm_platform_register);
+
+MODULE_LICENSE("GPL v2");