From: lamikr <lamikr@cc.jyu.fi>
To: OMAP-Linux <linux-omap-open-source@linux.omap.com>
Subject: [PATCH 2/3] aic23 omap oss driver method reference fix.
Date: Tue, 02 May 2006 23:39:39 +0300 [thread overview]
Message-ID: <4457C38B.1080602@cc.jyu.fi> (raw)
Fix the undefined reference from aic23 omap OSS 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 OSS sound driver is selected.
Signed-off-by: Mika Laitio <lamikr@cc.jyu.fi>
---
sound/oss/Kconfig | 2 ++
sound/oss/omap-audio-aic23.c | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
6702c21da8ccaab93332c4e8b2f0e52885164d6c
diff --git a/sound/oss/Kconfig b/sound/oss/Kconfig
index 88a648f..4f49cb9 100644
--- a/sound/oss/Kconfig
+++ b/sound/oss/Kconfig
@@ -29,6 +29,8 @@ config SOUND_OMAP_TSC2101
config SOUND_OMAP_AIC23
tristate "AIC23 Stereo Codec"
depends on SOUND_OMAP && ( MACH_OMAP_INNOVATOR || MACH_OMAP_OSK )
+ select I2C
+ select I2C_OMAP if ARCH_OMAP
select SENSORS_TLV320AIC23 if ARCH_OMAP
---help---
AIC23 Audio Codec Driver for OMAP will be enabled.
diff --git a/sound/oss/omap-audio-aic23.c b/sound/oss/omap-audio-aic23.c
index 679edb0..1e41b1d 100644
--- a/sound/oss/omap-audio-aic23.c
+++ b/sound/oss/omap-audio-aic23.c
@@ -250,12 +250,12 @@ static audio_state_t aic23_state = {
/* This will be defined in the audio.h */
static struct file_operations *omap_audio_fops;
-extern int tlv320aic23_write_value(u8 reg, u16 value);
+extern int aic23_write_value(u8 reg, u16 value);
/* TLV320AIC23 is a write only device */
static __inline__ void audio_aic23_write(u8 address, u16 data)
{
- tlv320aic23_write_value(address, data);
+ aic23_write_value(address, data);
}
static int aic23_update(int flag, int val)
--
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=4457C38B.1080602@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