techpack: audio: fs1815: Fix strict prototypes errors

Change-Id: Ib7b81f391767db8cb90ae2e2b0c8b07c51e42637
This commit is contained in:
Anand S 2024-05-25 20:27:31 +05:30 • committed by Michael Bestas
commit f62d09d86b
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -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){

View file

@ -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);
}