summaryrefslogtreecommitdiffstats
path: root/include/_exports.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/_exports.h')
-rw-r--r--include/_exports.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/_exports.h b/include/_exports.h
index 74a882a680..11beeb24f1 100644
--- a/include/_exports.h
+++ b/include/_exports.h
@@ -23,7 +23,7 @@
EXPORT_FUNC(dummy, void, free_hdlr, void)
#endif
EXPORT_FUNC(malloc, void *, malloc, size_t)
-#ifndef CONFIG_SYS_MALLOC_SIMPLE
+#if !CONFIG_IS_ENABLED(SYS_MALLOC_SIMPLE)
EXPORT_FUNC(free, void, free, void *)
#endif
EXPORT_FUNC(udelay, void, udelay, unsigned long)
OpenPOWER on IntegriCloud