mirror of https://github.com/thesofproject/sof.git
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:
parent
f706843697
commit
00fb4e9dba
|
@ -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)));
|
||||
|
|
Loading…
Reference in New Issue