diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2016-08-03 04:24:05 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-08-03 21:16:59 +0300 |
commit | 1f85e118c81d15aa9e002604dfb69c823d4aac16 (patch) | |
tree | d977edd4204f6c7af981b08b5d26e34ba90c4dd0 /sound/soc/generic/Makefile | |
parent | e7ca8fcd15049b1e48ae2ef1434a68a51ef0ead5 (diff) | |
download | linux-1f85e118c81d15aa9e002604dfb69c823d4aac16.tar.xz |
ASoC: simple-card-utils: add missing MODULE_xxx()
simple-card-utils might be used as module, but MODULE_xxx()
information was missed. This patch adds it.
Otherwise, we will have below error, and can't use it.
Specil thanks to Kevin.
> insmod simple-card-utils.ko
simple_card_utils: module license 'unspecified' taints kernel.
Disabling lock debugging due to kernel taint
simple_card_utils: Unknown symbol snd_soc_of_parse_daifmt (err 0)
simple_card_utils: Unknown symbol snd_soc_of_parse_card_name (err 0)
insmod: can't insert 'simple-card-utils.ko': \
unknown symbol in module, or unknown parameter
Reported-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/generic/Makefile')
-rw-r--r-- | sound/soc/generic/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/generic/Makefile b/sound/soc/generic/Makefile index 45602ca8536e..2d53c8d70705 100644 --- a/sound/soc/generic/Makefile +++ b/sound/soc/generic/Makefile @@ -1,5 +1,5 @@ -obj-$(CONFIG_SND_SIMPLE_CARD_UTILS) := simple-card-utils.o - +snd-soc-simple-card-utils-objs := simple-card-utils.o snd-soc-simple-card-objs := simple-card.o -obj-$(CONFIG_SND_SIMPLE_CARD) += snd-soc-simple-card.o +obj-$(CONFIG_SND_SIMPLE_CARD_UTILS) += snd-soc-simple-card-utils.o +obj-$(CONFIG_SND_SIMPLE_CARD) += snd-soc-simple-card.o |