]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Feb 2018 13:09:16 +0000 (14:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Feb 2018 13:09:16 +0000 (14:09 +0100)
added patches:
asoc-pcm512x-add-missing-module_description-author-license.patch

queue-4.4/asoc-pcm512x-add-missing-module_description-author-license.patch [new file with mode: 0644]
queue-4.4/series

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 (file)
index 0000000..27b2380
--- /dev/null
@@ -0,0 +1,37 @@
+From 0cab20cec0b663b7be8e2be5998d5a4113647f86 Mon Sep 17 00:00:00 2001
+From: Jesse Chan <jc@linux.com>
+Date: Sun, 19 Nov 2017 23:45:49 -0800
+Subject: ASoC: pcm512x: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
+
+From: Jesse Chan <jc@linux.com>
+
+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 <jc@linux.com>
+Signed-off-by: Mark Brown <broonie@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ 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 <broonie@kernel.org>");
++MODULE_LICENSE("GPL v2");
index bd1b50e828c211f8e851a20f2d5a3793ff262721..b8aa447d57f180e10530e1aa9863d67b38b1726b 100644 (file)
@@ -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