aboutsummaryrefslogtreecommitdiff
path: root/drivers/core/simple-bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/core/simple-bus.c')
-rw-r--r--drivers/core/simple-bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/core/simple-bus.c b/drivers/core/simple-bus.c
index abc55c2171..6022e7514e 100644
--- a/drivers/core/simple-bus.c
+++ b/drivers/core/simple-bus.c
@@ -65,7 +65,7 @@ UCLASS_DRIVER(simple_bus) = {
.per_device_plat_auto = sizeof(struct simple_bus_plat),
};
-#if !CONFIG_IS_ENABLED(OF_PLATDATA)
+#if CONFIG_IS_ENABLED(OF_REAL)
static const struct udevice_id generic_simple_bus_ids[] = {
{ .compatible = "simple-bus" },
{ .compatible = "simple-mfd" },