projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfc6bae
)
include: reset: Change to use CONFIG_IS_ENABLED(DM_RESET)
author
Ley Foon Tan
<ley.foon.tan@intel.com>
Thu, 14 Jun 2018 10:45:20 +0000
(18:45 +0800)
committer
Tom Rini
<trini@konsulko.com>
Mon, 9 Jul 2018 19:25:45 +0000
(15:25 -0400)
Change to use CONFIG_IS_ENABLED(DM_RESET), so this can work in SPL
build (CONFIG_SPL_DM_RESET) and U-boot build (CONFIG_DM_RESET).
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/reset.h
patch
|
blob
|
history
diff --git
a/include/reset.h
b/include/reset.h
index 201bafc67f27913485fa0e5fb99345f2b0b73559..a7bbc1c331bcc486ec80b9fcd6d7a3c4937e9766 100644
(file)
--- a/
include/reset.h
+++ b/
include/reset.h
@@
-77,7
+77,7
@@
struct reset_ctl_bulk {
unsigned int count;
};
-#if
def CONFIG_DM_RESET
+#if
CONFIG_IS_ENABLED(DM_RESET)
/**
* reset_get_by_index - Get/request a reset signal by integer index.
*