From: Kevin Hilman Date: Mon, 13 Jul 2009 21:50:40 +0000 (-0700) Subject: ASoC: spdif: set module licence to GPL X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a0cf58d93b49bdd3ba6049a5536e76c32ef7f88;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git ASoC: spdif: set module licence to GPL Without MODULE_LICENCE("GPL"), when built as a module it will fail to load because it uses other GPL symbols from kernel. Signed-off-by: Kevin Hilman Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/spdif_transciever.c b/sound/soc/codecs/spdif_transciever.c index ca9e9979a60..a6319114105 100644 --- a/sound/soc/codecs/spdif_transciever.c +++ b/sound/soc/codecs/spdif_transciever.c @@ -21,6 +21,8 @@ #include "spdif_transciever.h" +MODULE_LICENSE("GPL"); + #define STUB_RATES SNDRV_PCM_RATE_8000_96000 #define STUB_FORMATS SNDRV_PCM_FMTBIT_S16_LE