fix[mpp_singleton]: fix init order issue

Platform: General
Spec: all

Error case:
Constructors may be added after 65535(mpp_singleton_init)
ex: mpp_platform added after 65535 when mpp_soc is
    refactored to c

Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Signed-off-by: xiaoxu.chen <xiaoxu.chen@rock-chips.com>
Change-Id: If736904beb0cd64a3e4ae3b20fd72e1198646ac7
This commit is contained in:
Hongjin Li
2025-05-17 10:40:03 +08:00
committed by Herman Chen
parent 63e1e88b0b
commit dee9bced95
4 changed files with 23 additions and 17 deletions

View File

@@ -14,7 +14,8 @@
#include "kmpp_obj.h"
#define TO_STR(x) #x
#define _TO_STR(x) #x
#define TO_STR(x) _TO_STR(x)
/* concat by underscore */
#define CONCAT_US1(a) a