diff mbox series

[1/2] ASoC: omap: sdma-pcm: add module license

Message ID 20180525160248.4135506-1-arnd@arndb.de
State New
Headers show
Series [1/2] ASoC: omap: sdma-pcm: add module license | expand

Commit Message

Arnd Bergmann May 25, 2018, 4:02 p.m. UTC
Kbuild warns that we should have a MODULE_LICENSE() tag in the new module:

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

This adds both the license and author field corresponding to the information
at the top of the file.

Fixes: dde637f2daf1 ("ASoC: omap: Introduce the generic_dmaengine_pcm based sdma-pcm")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

---
 sound/soc/omap/sdma-pcm.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.9.0

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Comments

Mark Brown May 25, 2018, 5:35 p.m. UTC | #1
On Fri, May 25, 2018 at 06:02:31PM +0200, Arnd Bergmann wrote:
> Kbuild warns that we should have a MODULE_LICENSE() tag in the new module:

> 

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


This doesn't apply against current code, please check and resend.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Peter Ujfalusi May 28, 2018, 8:55 a.m. UTC | #2
On 2018-05-25 20:35, Mark Brown wrote:
> On Fri, May 25, 2018 at 06:02:31PM +0200, Arnd Bergmann wrote:

>> Kbuild warns that we should have a MODULE_LICENSE() tag in the new module:

>>

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

> 

> This doesn't apply against current code, please check and resend.


'ASoC: omap: sdma-pcm: Fix modpost warning' is already applied which
adds the missing MODULE_LICENSE()

- Péter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
diff mbox series

Patch

diff --git a/sound/soc/omap/sdma-pcm.c b/sound/soc/omap/sdma-pcm.c
index f7b2b5b69d27..e9981bff8bd2 100644
--- a/sound/soc/omap/sdma-pcm.c
+++ b/sound/soc/omap/sdma-pcm.c
@@ -4,6 +4,7 @@ 
  *  Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
  */
 
+#include <linux/module.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>
@@ -66,3 +67,6 @@  int sdma_pcm_platform_register(struct device *dev,
 	return devm_snd_dmaengine_pcm_register(dev, config, flags);
 }
 EXPORT_SYMBOL_GPL(sdma_pcm_platform_register);
+
+MODULE_AUTHOR("Peter Ujfalusi <peter.ujfalusi@ti.com>");
+MODULE_LICENSE("GPL v2");