提交 d99894dd 编写于 作者: L Ley Foon Tan 提交者: Tom Rini

include: reset: Change to use CONFIG_IS_ENABLED(DM_RESET)

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: NLey Foon Tan <ley.foon.tan@intel.com>
Reviewed-by: NSimon Glass <sjg@chromium.org>
上级 bfc6bae8
......@@ -77,7 +77,7 @@ struct reset_ctl_bulk {
unsigned int count;
};
#ifdef CONFIG_DM_RESET
#if CONFIG_IS_ENABLED(DM_RESET)
/**
* reset_get_by_index - Get/request a reset signal by integer index.
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册