summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/misc/stm32_rcc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/misc/stm32_rcc.c b/drivers/misc/stm32_rcc.c
index dee82c0b7b..980b3a58e1 100644
--- a/drivers/misc/stm32_rcc.c
+++ b/drivers/misc/stm32_rcc.c
@@ -53,13 +53,9 @@ static int stm32_rcc_bind(struct udevice *dev)
if (ret)
return ret;
-#ifdef CONFIG_SPL_BUILD
- return 0;
-#else
return device_bind_driver_to_node(dev, "stm32_rcc_reset",
"stm32_rcc_reset",
dev_ofnode(dev), &child);
-#endif
}
static const struct misc_ops stm32_rcc_ops = {