audio: smart_amp: declare init with UT_STATIC

Allow component to be included in unit tests by using UT_STATIC
in the declaration.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
This commit is contained in:
Kai Vehmanen 2021-05-06 13:37:00 +03:00 committed by Liam Girdwood
parent f706843697
commit 00fb4e9dba
1 changed files with 1 additions and 1 deletions

View File

@ -775,7 +775,7 @@ static SHARED_DATA struct comp_driver_info comp_smart_amp_info = {
.drv = &comp_smart_amp,
};
static void sys_comp_smart_amp_init(void)
UT_STATIC void sys_comp_smart_amp_init(void)
{
comp_register(platform_shared_get(&comp_smart_amp_info,
sizeof(comp_smart_amp_info)));