From e7c556bbe6d49af7667ee4e2346a5ca4d1c38497 Mon Sep 17 00:00:00 2001 From: Vatsal Bucha Date: Fri, 25 Jun 2021 09:12:23 +0530 Subject: [PATCH] dsp:q6asm: Resolve warning during compilation for static global function Some functions in q6asm are declared as static and global with export_symbol resulting in warning bring generated during compilation. Remove static from functions to resolve issue. Change-Id: I2c7be032278f956effc0d230a53fef5e02f771d7 Signed-off-by: Vatsal Bucha --- dsp/q6asm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dsp/q6asm.c b/dsp/q6asm.c index 7e7745b9cf07..7f0c53f7b6e2 100644 --- a/dsp/q6asm.c +++ b/dsp/q6asm.c @@ -5428,7 +5428,6 @@ static int q6asm_enc_cfg_blk_pcm_v5(struct audio_client *ac, fail_cmd: return rc; } -EXPORT_SYMBOL(q6asm_enc_cfg_blk_pcm_v5); /* * q6asm_enc_cfg_blk_pcm_v4 - sends encoder configuration parameters @@ -8884,7 +8883,6 @@ fail_cmd: mmap_region_cmd = NULL; return rc; } -EXPORT_SYMBOL(q6asm_memory_map_regions); /** * q6asm_memory_unmap_regions - @@ -8983,7 +8981,6 @@ fail_cmd: } return rc; } -EXPORT_SYMBOL(q6asm_memory_unmap_regions); int q6asm_set_lrgain(struct audio_client *ac, int left_gain, int right_gain) {