projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cb7b70
)
MLK-12565 mx7: rdc: Change IS_ENABLED to remove build warning
author
Ye Li
<ye.li@nxp.com>
Wed, 16 Mar 2016 08:27:56 +0000
(16:27 +0800)
committer
Ye Li
<ye.li@nxp.com>
Wed, 5 Apr 2017 06:04:35 +0000
(14:04 +0800)
Change to use #ifdef not the IS_ENABLED, because we will get build warning
when the CONFIG_IMX_RDC is not set.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit
a212eff242efb8dc171479cbaca34049d508f87b
)
arch/arm/cpu/armv7/mx7/soc.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/mx7/soc.c
b/arch/arm/cpu/armv7/mx7/soc.c
index
4bfabf7
..
2796ba3
100644
(file)
--- a/
arch/arm/cpu/armv7/mx7/soc.c
+++ b/
arch/arm/cpu/armv7/mx7/soc.c
@@
-244,8
+244,9
@@
int arch_cpu_init(void)
mxs_dma_init();
#endif
- if (IS_ENABLED(CONFIG_IMX_RDC))
- isolate_resource();
+#ifdef CONFIG_IMX_RDC
+ isolate_resource();
+#endif
return 0;
}