summaryrefslogtreecommitdiff
path: root/drivers/firmware/firmware-uclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firmware/firmware-uclass.c')
-rw-r--r--drivers/firmware/firmware-uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/firmware-uclass.c b/drivers/firmware/firmware-uclass.c
index 3d33b6deba..7fcd7fb904 100644
--- a/drivers/firmware/firmware-uclass.c
+++ b/drivers/firmware/firmware-uclass.c
@@ -7,7 +7,7 @@
UCLASS_DRIVER(firmware) = {
.id = UCLASS_FIRMWARE,
.name = "firmware",
-#if CONFIG_IS_ENABLED(OF_CONTROL)
+#if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
.post_bind = dm_scan_fdt_dev,
#endif
};