From: lamikr <lamikr@cc.jyu.fi>
To: OMAP-Linux <linux-omap-open-source@linux.omap.com>
Subject: [PATCH 1/3] aic23 omap alsa driver method reference fix.
Date: Tue, 02 May 2006 23:39:17 +0300 [thread overview]
Message-ID: <4457C375.80508@cc.jyu.fi> (raw)
Fix the undefined reference from aic23 omap alsa driver to in
tlv320aic23.c driver's aic23_write_value method . In addition force the
tlv320aic23 i2c driver and it dependencies always to be selected when
the aic23 omap alsa sound driver is selected.
Signed-off-by: Mika Laitio <lamikr@cc.jyu.fi>
---
sound/arm/Kconfig | 2 ++
sound/arm/omap/omap-alsa-aic23.c | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
3f247c941cb140eb6e530cb62bf93ab61bfd4136
diff --git a/sound/arm/Kconfig b/sound/arm/Kconfig
index cccdf23..742bf8a 100644
--- a/sound/arm/Kconfig
+++ b/sound/arm/Kconfig
@@ -37,6 +37,8 @@ config SND_OMAP_AIC23
tristate "OMAP AIC23 alsa driver (osk5912)"
depends on ARCH_OMAP && SND
select SND_PCM
+ select I2C
+ select I2C_OMAP
select SENSORS_TLV320AIC23
help
Say Y here if you have a OSK platform board
diff --git a/sound/arm/omap/omap-alsa-aic23.c
b/sound/arm/omap/omap-alsa-aic23.c
index f490616..18b7395 100644
--- a/sound/arm/omap/omap-alsa-aic23.c
+++ b/sound/arm/omap/omap-alsa-aic23.c
@@ -113,12 +113,12 @@ static snd_pcm_hardware_t aic23_snd_omap
* codec dependent code.
*/
-extern int tlv320aic23_write_value(u8 reg, u16 value);
+extern int aic23_write_value(u8 reg, u16 value);
/* TLV320AIC23 is a write only device */
void audio_aic23_write(u8 address, u16 data)
{
- tlv320aic23_write_value(address, data);
+ aic23_write_value(address, data);
}
EXPORT_SYMBOL_GPL(audio_aic23_write);
--
1.2.2
reply other threads:[~2006-05-02 20:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4457C375.80508@cc.jyu.fi \
--to=lamikr@cc.jyu.fi \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox