intel_adsp: make idc variable depend on CONFIG_IPM_CAVS_IDC
Avoid build warnings by guarding variable with an if. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
411bddf25a
commit
cba2f136cc
1 changed files with 2 additions and 0 deletions
|
@ -51,7 +51,9 @@ LOG_MODULE_REGISTER(soc_mp, CONFIG_SOC_LOG_LEVEL);
|
|||
|
||||
#define IDC_MSG_POWER_UP_EXT(x) IDC_EXTENSION((x) >> 2)
|
||||
|
||||
#ifdef CONFIG_IPM_CAVS_IDC
|
||||
static const struct device *idc;
|
||||
#endif
|
||||
|
||||
extern void __start(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue