alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] ASoC: omap: add sdma-pcm.c MODULE_LICENSE
@ 2018-05-13  1:41 Randy Dunlap
  2018-05-14  6:45 ` Peter Ujfalusi
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2018-05-13  1:41 UTC (permalink / raw)
  To: LKML, linux-omap, moderated for non-subscribers
  Cc: Stephen Rothwell, Liam Girdwood, Peter Ujfalusi, Mark Brown,
	Andrew Morton, Jarkko Nikula

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(+)

--- 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");

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-14  6:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-13  1:41 [PATCH -next] ASoC: omap: add sdma-pcm.c MODULE_LICENSE Randy Dunlap
2018-05-14  6:45 ` Peter Ujfalusi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).