summaryrefslogtreecommitdiff
path: root/include/linux/mtd/compat.h
diff options
context:
space:
mode:
authorWilliam Juul <william.juul@datarespons.no>2007-11-09 13:32:30 +0100
committerScott Wood <scottwood@freescale.com>2008-08-12 11:31:17 -0500
commit5e1dae5c3db7f4026f31b6a2a81ecd9e9dee475f (patch)
tree7276d7e752d241d719b2470c7d189cd9760982e4 /include/linux/mtd/compat.h
parent4cbb651b29cb64d378a06729970e1e153bb605b1 (diff)
downloadu-boot-imx-5e1dae5c3db7f4026f31b6a2a81ecd9e9dee475f.zip
u-boot-imx-5e1dae5c3db7f4026f31b6a2a81ecd9e9dee475f.tar.gz
u-boot-imx-5e1dae5c3db7f4026f31b6a2a81ecd9e9dee475f.tar.bz2
Fixing coding style issues
- Fixing leading white spaces - Fixing indentation where 4 spaces are used instead of tab - Removing C++ comments (//), wherever I introduced them Signed-off-by: William Juul <william.juul@tandberg.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
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 86a6e43..9036b74 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))