summaryrefslogtreecommitdiff
path: root/include/dm/util.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-11-15 14:15:21 -0500
committerTom Rini <trini@konsulko.com>2023-11-15 14:15:21 -0500
commit169c3cc49e40758956ee6c310f7f59a6443826a1 (patch)
tree469779cc9196adce361abe56c2ce27a6563e98ce /include/dm/util.h
parent92b27528d777ce85362af45e7d2974a6c856219b (diff)
parent0d4d9f94c555577f78cddc372c307465fc92413e (diff)
Merge tag 'dm-pull-15nov23' of https://source.denx.de/u-boot/custodians/u-boot-dm
patman correct import of u_boot_pylib correct long-standing EFI framebuffer bug minor test refactor
Diffstat (limited to 'include/dm/util.h')
-rw-r--r--include/dm/util.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/dm/util.h b/include/dm/util.h
index 89206cc4966..95c3527a37c 100644
--- a/include/dm/util.h
+++ b/include/dm/util.h
@@ -11,9 +11,7 @@ struct dm_stats;
#if CONFIG_IS_ENABLED(DM_WARN)
#define dm_warn(fmt...) log(LOGC_DM, LOGL_WARNING, ##fmt)
#else
-static inline void dm_warn(const char *fmt, ...)
-{
-}
+#define dm_warn(fmt...) log(LOGC_DM, LOGL_DEBUG, ##fmt)
#endif
struct list_head;