diff options
author | Jesse Chan <jc@linux.com> | 2017-11-19 23:45:49 -0800 |
---|---|---|
committer | Sasha Levin <alexander.levin@microsoft.com> | 2018-02-28 22:09:49 -0500 |
commit | 8533b8d52b6ac3a670d1e0d7130dfeb6a82b2d23 (patch) | |
tree | 4b51f750461eacdebc13712bdebcd1053fba06cc /sound | |
parent | 084bf588b312e95d554f90c78d78131fe042e0cd (diff) |
ASoC: pcm512x: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
[ Upstream commit 0cab20cec0b663b7be8e2be5998d5a4113647f86 ]
This change resolves a new compile-time warning
when built as a loadable module:
WARNING: modpost: missing MODULE_LICENSE() in sound/soc/codecs/snd-soc-pcm512x-spi.o
see include/linux/module.h for more information
This adds the license as "GPL v2", which matches the header of the file.
MODULE_DESCRIPTION and MODULE_AUTHOR are also added.
Signed-off-by: Jesse Chan <jc@linux.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/pcm512x-spi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/pcm512x-spi.c b/sound/soc/codecs/pcm512x-spi.c index 7b64a9cef704..8adb0912d5f8 100644 --- a/sound/soc/codecs/pcm512x-spi.c +++ b/sound/soc/codecs/pcm512x-spi.c @@ -71,3 +71,7 @@ static struct spi_driver pcm512x_spi_driver = { }; module_spi_driver(pcm512x_spi_driver); + +MODULE_DESCRIPTION("ASoC PCM512x codec driver - SPI"); +MODULE_AUTHOR("Mark Brown <broonie@kernel.org>"); +MODULE_LICENSE("GPL v2"); |