aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/misc-uclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/misc-uclass.c')
-rw-r--r--drivers/misc/misc-uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/misc-uclass.c b/drivers/misc/misc-uclass.c
index 72720b0e590..cbfacc3801a 100644
--- a/drivers/misc/misc-uclass.c
+++ b/drivers/misc/misc-uclass.c
@@ -70,7 +70,7 @@ int misc_set_enabled(struct udevice *dev, bool val)
UCLASS_DRIVER(misc) = {
.id = UCLASS_MISC,
.name = "misc",
-#if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
+#if CONFIG_IS_ENABLED(OF_REAL)
.post_bind = dm_scan_fdt_dev,
#endif
};