summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mtd/compat.h')
-rw-r--r--include/linux/mtd/compat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/mtd/compat.h b/include/linux/mtd/compat.h
index 86a6e43ca9..9036b74f86 100644
--- a/include/linux/mtd/compat.h
+++ b/include/linux/mtd/compat.h
@@ -18,10 +18,10 @@
#define KERN_DEBUG
#define kmalloc(size, flags) malloc(size)
-#define kzalloc(size, flags) calloc(size, 1)
+#define kzalloc(size, flags) calloc(size, 1)
#define vmalloc(size) malloc(size)
-#define kfree(ptr) free(ptr)
-#define vfree(ptr) free(ptr)
+#define kfree(ptr) free(ptr)
+#define vfree(ptr) free(ptr)
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
OpenPOWER on IntegriCloud