From: Greg Kroah-Hartman Date: Sun, 4 Feb 2018 13:09:12 +0000 (+0100) Subject: 3.18-stable patches X-Git-Tag: v3.18.94~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb94aa342d08d362faec2e953308786c72d63346;p=thirdparty%2Fkernel%2Fstable-queue.git 3.18-stable patches added patches: asoc-pcm512x-add-missing-module_description-author-license.patch --- diff --git a/queue-3.18/asoc-pcm512x-add-missing-module_description-author-license.patch b/queue-3.18/asoc-pcm512x-add-missing-module_description-author-license.patch new file mode 100644 index 00000000000..a7028b8b7cc --- /dev/null +++ b/queue-3.18/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 +@@ -67,3 +67,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-3.18/series b/queue-3.18/series index 77fe3ab4be1..2ba2cf3b494 100644 --- a/queue-3.18/series +++ b/queue-3.18/series @@ -33,3 +33,4 @@ usb-f_fs-prevent-gadget-unbind-if-it-is-already-unbound.patch usb-uas-unconditionally-bring-back-host-after-reset.patch selinux-general-protection-fault-in-sock_has_perm.patch spi-imx-do-not-access-registers-while-clocks-disabled.patch +asoc-pcm512x-add-missing-module_description-author-license.patch