projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7170c52
)
MLK-21052-09 soc: imx: Fix building without HAVE_IMX_SRC
author
Leonard Crestez
<leonard.crestez@nxp.com>
Fri, 1 Mar 2019 19:00:06 +0000
(21:00 +0200)
committer
Leonard Crestez
<leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000
(
02:51
+0300)
If support for imx_src_is_m4_enabled is not compiled then just return
the default value "false".
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
include/soc/imx/src.h
patch
|
blob
|
history
diff --git
a/include/soc/imx/src.h
b/include/soc/imx/src.h
index
c55c34c
..
9e0c805
100644
(file)
--- a/
include/soc/imx/src.h
+++ b/
include/soc/imx/src.h
@@
-1,6
+1,10
@@
#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 */