Skip to content
Snippets Groups Projects
Commit 102f052b authored by Leonard Crestez's avatar Leonard Crestez
Browse files

MLK-21052-09 soc: imx: Fix building without HAVE_IMX_SRC


If support for imx_src_is_m4_enabled is not compiled then just return
the default value "false".

Signed-off-by: default avatarLeonard Crestez <leonard.crestez@nxp.com>
parent 7170c526
No related branches found
No related tags found
No related merge requests found
#ifndef __SOC_IMX_SRC_H
#define __SOC_IMX_SRC_H
#if defined(CONFIG_HAVE_IMX_SRC)
bool imx_src_is_m4_enabled(void);
#else
static inline bool imx_src_is_m4_enabled(void) { return false; }
#endif
#endif /* __SOC_IMX_SRC_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment