aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-imx/src.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/src.c b/arch/arm/mach-imx/src.c
index dec641108b54..4e0236c89c5e 100644
--- a/arch/arm/mach-imx/src.c
+++ b/arch/arm/mach-imx/src.c
@@ -138,7 +138,8 @@ void __init imx_src_init(void)
138 WARN_ON(!src_base); 138 WARN_ON(!src_base);
139 139
140 imx_reset_controller.of_node = np; 140 imx_reset_controller.of_node = np;
141 reset_controller_register(&imx_reset_controller); 141 if (IS_ENABLED(CONFIG_RESET_CONTROLLER))
142 reset_controller_register(&imx_reset_controller);
142 143
143 /* 144 /*
144 * force warm reset sources to generate cold reset 145 * force warm reset sources to generate cold reset