diff --git a/arch/arm/mach-msm/qdsp6_1550/q6audio.c b/arch/arm/mach-msm/qdsp6_1550/q6audio.c index e76ddfe1..53828035 100644 --- a/arch/arm/mach-msm/qdsp6_1550/q6audio.c +++ b/arch/arm/mach-msm/qdsp6_1550/q6audio.c @@ -936,6 +936,7 @@ int q6audio_read(struct audio_client *ac, struct audio_buffer *ab) r = dal_call_f5(ac->client, AUDIO_OP_READ, &rpc, sizeof(rpc)); return 0; } +EXPORT_SYMBOL_GPL(q6audio_read); int q6audio_write(struct audio_client *ac, struct audio_buffer *ab) { @@ -958,6 +959,7 @@ int q6audio_write(struct audio_client *ac, struct audio_buffer *ab) r = dal_call_f5(ac->client, AUDIO_OP_WRITE, &rpc, sizeof(rpc)); return 0; } +EXPORT_SYMBOL_GPL(q6audio_write); static int audio_rx_volume(struct audio_client *ac, uint32_t dev_id, int32_t volume) { @@ -2116,6 +2118,7 @@ int q6audio_set_tx_volume(int level) return 0; } +EXPORT_SYMBOL_GPL(q6audio_set_tx_volume); int q6audio_set_tx_mute(int mute) { @@ -2141,6 +2144,7 @@ int q6audio_set_tx_mute(int mute) mutex_unlock(&audio_path_lock); return 0; } +EXPORT_SYMBOL_GPL(q6audio_set_tx_mute); int q6audio_set_stream_volume(struct audio_client *ac, int vol) { @@ -2155,6 +2159,7 @@ int q6audio_set_stream_volume(struct audio_client *ac, int vol) mutex_unlock(&audio_path_lock); return 0; } +EXPORT_SYMBOL_GPL(q6audio_set_stream_volume); int q6audio_set_stream_eq(struct audio_client *ac, struct cad_audio_eq_cfg *eq_cfg) { @@ -2212,6 +2217,7 @@ int q6audio_set_rx_volume(int level) #endif return 0; } +EXPORT_SYMBOL_GPL(q6audio_set_rx_volume); static int q6audio_init_rx_volumes() { @@ -2257,6 +2263,7 @@ int q6audio_set_rx_mute(int mute) mutex_unlock(&audio_path_lock); return 0; } +EXPORT_SYMBOL_GPL(q6audio_set_rx_mute); static void do_rx_routing(uint32_t device_id, uint32_t acdb_id) { @@ -2330,6 +2337,7 @@ int q6audio_do_routing(uint32_t device_id, uint32_t acdb_id) mutex_unlock(&audio_path_lock); return 0; } +EXPORT_SYMBOL_GPL(q6audio_do_routing); int q6audio_set_route(const char *name) { @@ -2529,6 +2537,7 @@ struct audio_client *q6audio_open_pcm(uint32_t bufsz, uint32_t rate, return audio_test(); #endif } +EXPORT_SYMBOL_GPL(q6audio_open_pcm); int q6audio_close(struct audio_client *ac) { @@ -2543,6 +2552,7 @@ int q6audio_close(struct audio_client *ac) audio_allow_sleep(); return 0; } +EXPORT_SYMBOL_GPL(q6audio_close); struct audio_client *q6voice_open(uint32_t flags, uint32_t acdb_id) { diff --git a/sound/htcleo/alsa-pcm-htc-leo.c b/sound/htcleo/alsa-pcm-htc-leo.c index f1f1dc85..bfa6404c 100644 --- a/sound/htcleo/alsa-pcm-htc-leo.c +++ b/sound/htcleo/alsa-pcm-htc-leo.c @@ -766,7 +766,7 @@ fail: DBG("-:%d", rc); return rc; } - +EXPORT_SYMBOL_GPL(htcleo_alsa_init_pcm); MODULE_AUTHOR("DFT-Cotulla"); MODULE_DESCRIPTION("HTC LEO ALSA PCM driver");