From: Greg Kroah-Hartman Date: Sun, 4 Feb 2018 13:09:16 +0000 (+0100) Subject: 4.4-stable patches X-Git-Tag: v3.18.94~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=670797fc5d9b414494c1fdcf8f678b8d25785c64;p=thirdparty%2Fkernel%2Fstable-queue.git 4.4-stable patches added patches: asoc-pcm512x-add-missing-module_description-author-license.patch --- diff --git a/queue-4.4/asoc-pcm512x-add-missing-module_description-author-license.patch b/queue-4.4/asoc-pcm512x-add-missing-module_description-author-license.patch new file mode 100644 index 00000000000..27b23806b96 --- /dev/null +++ b/queue-4.4/asoc-pcm512x-add-missing-module_description-author-license.patch @@ -0,0 +1,37 @@ +From 0cab20cec0b663b7be8e2be5998d5a4113647f86 Mon Sep 17 00:00:00 2001 +From: Jesse Chan +Date: Sun, 19 Nov 2017 23:45:49 -0800 +Subject: ASoC: pcm512x: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE + +From: Jesse Chan + +commit 0cab20cec0b663b7be8e2be5998d5a4113647f86 upstream. + +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 +Signed-off-by: Mark Brown +Signed-off-by: Greg Kroah-Hartman + +--- + sound/soc/codecs/pcm512x-spi.c | 4 ++++ + 1 file changed, 4 insertions(+) + +--- a/sound/soc/codecs/pcm512x-spi.c ++++ b/sound/soc/codecs/pcm512x-spi.c +@@ -70,3 +70,7 @@ static struct spi_driver pcm512x_spi_dri + }; + + module_spi_driver(pcm512x_spi_driver); ++ ++MODULE_DESCRIPTION("ASoC PCM512x codec driver - SPI"); ++MODULE_AUTHOR("Mark Brown "); ++MODULE_LICENSE("GPL v2"); diff --git a/queue-4.4/series b/queue-4.4/series index bd1b50e828c..b8aa447d57f 100644 --- a/queue-4.4/series +++ b/queue-4.4/series @@ -14,3 +14,4 @@ powerpc-pseries-query-hypervisor-for-rfi-flush-settings.patch powerpc-powernv-check-device-tree-for-rfi-flush-settings.patch powerpc-64s-wire-up-cpu_show_meltdown.patch powerpc-64s-allow-control-of-rfi-flush-via-debugfs.patch +asoc-pcm512x-add-missing-module_description-author-license.patch