* [PATCH] ASoC: tlv320aic23: add missing EXPORT_SYMBOLs
@ 2014-03-08 9:31 Max Filippov
2014-03-09 8:05 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Max Filippov @ 2014-03-08 9:31 UTC (permalink / raw)
To: alsa-devel
Cc: linux-kernel, Liam Girdwood, Mark Brown, Jaroslav Kysela,
Takashi Iwai, Lars-Peter Clausen, Max Filippov
This fixes the following build errors when aic23 is configured as
module:
>> ERROR: "tlv320aic23_probe"
>> [sound/soc/codecs/snd-soc-tlv320aic23-i2c.ko] undefined!
>> ERROR: "tlv320aic23_regmap"
>> [sound/soc/codecs/snd-soc-tlv320aic23-i2c.ko] undefined!
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
sound/soc/codecs/tlv320aic23.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/codecs/tlv320aic23.c b/sound/soc/codecs/tlv320aic23.c
index 455250f..a934add 100644
--- a/sound/soc/codecs/tlv320aic23.c
+++ b/sound/soc/codecs/tlv320aic23.c
@@ -59,6 +59,7 @@ const struct regmap_config tlv320aic23_regmap = {
.num_reg_defaults = ARRAY_SIZE(tlv320aic23_reg),
.cache_type = REGCACHE_RBTREE,
};
+EXPORT_SYMBOL(tlv320aic23_regmap);
static const char *rec_src_text[] = { "Line", "Mic" };
static const char *deemph_text[] = {"None", "32Khz", "44.1Khz", "48Khz"};
@@ -634,6 +635,7 @@ int tlv320aic23_probe(struct device *dev, struct regmap *regmap)
return snd_soc_register_codec(dev, &soc_codec_dev_tlv320aic23,
&tlv320aic23_dai, 1);
}
+EXPORT_SYMBOL(tlv320aic23_probe);
MODULE_DESCRIPTION("ASoC TLV320AIC23 codec driver");
MODULE_AUTHOR("Arun KS <arunks@mistralsolutions.com>");
--
1.8.1.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: tlv320aic23: add missing EXPORT_SYMBOLs
2014-03-08 9:31 [PATCH] ASoC: tlv320aic23: add missing EXPORT_SYMBOLs Max Filippov
@ 2014-03-09 8:05 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2014-03-09 8:05 UTC (permalink / raw)
To: Max Filippov
Cc: alsa-devel, linux-kernel, Liam Girdwood, Jaroslav Kysela,
Takashi Iwai, Lars-Peter Clausen
[-- Attachment #1: Type: text/plain, Size: 158 bytes --]
On Sat, Mar 08, 2014 at 01:31:06PM +0400, Max Filippov wrote:
> This fixes the following build errors when aic23 is configured as
> module:
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-09 8:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-08 9:31 [PATCH] ASoC: tlv320aic23: add missing EXPORT_SYMBOLs Max Filippov
2014-03-09 8:05 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®