diff --git a/techpack/audio/asoc/codecs/fs1815/fsm_core.c b/techpack/audio/asoc/codecs/fs1815/fsm_core.c index 950f4a5b1718..62579b3df4f2 100644 --- a/techpack/audio/asoc/codecs/fs1815/fsm_core.c +++ b/techpack/audio/asoc/codecs/fs1815/fsm_core.c @@ -1708,7 +1708,7 @@ void fsm_add_card_controls(struct snd_soc_card *card) } EXPORT_SYMBOL_GPL(fsm_add_card_controls); -static int fsm_check_scene_status() +static int fsm_check_scene_status(void) { fsm_config_t *cfg = fsm_get_config(); if(cfg->speaker_on && cfg->next_scene == FSM_SCENE_MUSIC){ diff --git a/techpack/audio/asoc/codecs/fs1815/fsm_i2c.c b/techpack/audio/asoc/codecs/fs1815/fsm_i2c.c index 00004697dd76..1582ad3f79b2 100644 --- a/techpack/audio/asoc/codecs/fs1815/fsm_i2c.c +++ b/techpack/audio/asoc/codecs/fs1815/fsm_i2c.c @@ -28,12 +28,12 @@ static struct device *g_fsm_pdev = NULL; #include "fsm_misc.c" //#include "fsm_codec.c" -void fsm_mutex_lock() +void fsm_mutex_lock(void) { mutex_lock(&g_fsm_mutex); } -void fsm_mutex_unlock() +void fsm_mutex_unlock(void) { mutex_unlock(&g_fsm_mutex); }