summaryrefslogtreecommitdiffstats
path: root/include/linux/cmdline-parser.h
diff options
context:
space:
mode:
authorAlexander Beregalov2013-11-14 23:32:19 +0100
committerLinus Torvalds2013-11-15 01:32:23 +0100
commit8d3ef556aba2b5b7d8b7144f7be1814d75ea3cc6 (patch)
treea6c70ef917532c934e2c7cd269ce031f05b226e6 /include/linux/cmdline-parser.h
parenthfsplus: Fix undefined __divdi3 in hfsplus_init_header_node() (diff)
downloadkernel-qcow2-linux-8d3ef556aba2b5b7d8b7144f7be1814d75ea3cc6.tar.gz
kernel-qcow2-linux-8d3ef556aba2b5b7d8b7144f7be1814d75ea3cc6.tar.xz
kernel-qcow2-linux-8d3ef556aba2b5b7d8b7144f7be1814d75ea3cc6.zip
cmdline-parser: fix build
Fix following errors: include/linux/cmdline-parser.h:17:12: error: 'BDEVNAME_SIZE' undeclared here block/cmdline-parser.c:17:2: error: implicit declaration of function 'kzalloc' Signed-off-by: Alexander Beregalov <alexander.beregalov@intel.com> Cc: CaiZhiyong <caizhiyong@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/cmdline-parser.h')
-rw-r--r--include/linux/cmdline-parser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/cmdline-parser.h b/include/linux/cmdline-parser.h
index 98e892ef6d5a..a0f9280421ec 100644
--- a/include/linux/cmdline-parser.h
+++ b/include/linux/cmdline-parser.h
@@ -8,6 +8,8 @@
#define CMDLINEPARSEH
#include <linux/blkdev.h>
+#include <linux/fs.h>
+#include <linux/slab.h>
/* partition flags */
#define PF_RDONLY 0x01 /* Device is read only */