]> git.sur5r.net Git - u-boot/blobdiff - common/malloc_simple.c
Merge git://git.denx.de/u-boot-x86
[u-boot] / common / malloc_simple.c
index dd1119f8cfbbde83b404c1a13a8577ca79f35000..479a1e47b640e987b84a1f57d983839acf83ec11 100644 (file)
@@ -44,7 +44,7 @@ void *memalign_simple(size_t align, size_t bytes)
        return ptr;
 }
 
-#ifdef CONFIG_SYS_MALLOC_SIMPLE
+#if CONFIG_IS_ENABLED(SYS_MALLOC_SIMPLE)
 void *calloc(size_t nmemb, size_t elem_size)
 {
        size_t size = nmemb * elem_size;