include: reset: Change to use CONFIG_IS_ENABLED(DM_RESET)
authorLey Foon Tan <ley.foon.tan@intel.com>
Thu, 14 Jun 2018 10:45:20 +0000 (18:45 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 9 Jul 2018 19:25:45 +0000 (15:25 -0400)
commitd99894dd3a713ea6226ac39a7e332b55cf8aca49
tree7db717c813c2c039a36301035af3f158641eaac0
parentbfc6bae8fa1f2d8a9c51548767b02f1a1e0ffe52
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: Ley Foon Tan <ley.foon.tan@intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/reset.h