summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/spdif_transciever.c
diff options
context:
space:
mode:
authorKevin Hilman <khilman@deeprootsystems.com>2009-07-13 23:50:40 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-07-14 00:01:30 +0200
commit0a0cf58d93b49bdd3ba6049a5536e76c32ef7f88 (patch)
tree2b9cd1afc59137e2b906efac48a62b9aa976bdba /sound/soc/codecs/spdif_transciever.c
parentASoC: spdif codec: enable use by modules (diff)
downloadlinux-0a0cf58d93b49bdd3ba6049a5536e76c32ef7f88.tar.xz
linux-0a0cf58d93b49bdd3ba6049a5536e76c32ef7f88.zip
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 <khilman@deeprootsystems.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/spdif_transciever.c')
-rw-r--r--sound/soc/codecs/spdif_transciever.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/spdif_transciever.c b/sound/soc/codecs/spdif_transciever.c
index ca9e9979a607..a63191141052 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