Commit 18da784c authored by Kevin Hilman's avatar Kevin Hilman

ARM: OMAP: Fix compliation/inlining in aic23 ALSA Driver

Signed-off-by: default avatarKevin Hilman <kevin@hilman.org>
parent b769d28a
......@@ -162,14 +162,6 @@ static snd_pcm_hw_constraint_list_t hw_constraints_rates = {
* codec dependent code.
*/
extern int tlv320aic23_write_value(u8 reg, u16 value);
/* TLV320AIC23 is a write only device */
__inline__ void audio_aic23_write(u8 address, u16 data)
{
tlv320aic23_write_value(address, data);
}
/*
* Sample rate changing
*/
......
......@@ -111,4 +111,17 @@ void snd_omap_suspend_mixer(void);
void snd_omap_resume_mixer(void);
#endif
/* Codec AIC23 */
#if defined(CONFIG_SENSORS_TLV320AIC23) || defined (CONFIG_SENSORS_TLV320AIC23_MODULE)
extern int tlv320aic23_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);
}
#endif /* CONFIG_SENSORS_TLV320AIC23 */
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment