summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/dm/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dm/util.h b/include/dm/util.h
index c634e470e7..17baf55c25 100644
--- a/include/dm/util.h
+++ b/include/dm/util.h
@@ -48,8 +48,6 @@ void dm_dump_driver_compat(void);
/* Dump out a list of drivers with static platform data */
void dm_dump_static_driver_info(void);
-#endif
-
#if CONFIG_IS_ENABLED(OF_PLATDATA_INST) && CONFIG_IS_ENABLED(READ_ONLY)
void *dm_priv_to_rw(void *priv);
#else
@@ -58,3 +56,5 @@ static inline void *dm_priv_to_rw(void *priv)
return priv;
}
#endif
+
+#endif