summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-25 01:45:29 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 10:53:27 -0700
commit82c8253ac27291d6c70114eb445c714359812a10 (patch)
tree646d86b635a9e74a9525c283e178dcdc605a7fd0 /init
parentabddaec56ebb7911bbf0578a4636a74bd7376d92 (diff)
downloadlinux-3.10-82c8253ac27291d6c70114eb445c714359812a10.tar.gz
linux-3.10-82c8253ac27291d6c70114eb445c714359812a10.tar.bz2
linux-3.10-82c8253ac27291d6c70114eb445c714359812a10.zip
init/do_mounts.c should #include <linux/initrd.h>
Every file should include the headers containing the externs for its global code (in this case for rd_doload). Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r--init/do_mounts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c
index a1de1bf3d6b..f769fac4f4c 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -12,6 +12,7 @@
#include <linux/device.h>
#include <linux/init.h>
#include <linux/fs.h>
+#include <linux/initrd.h>
#include <linux/nfs_fs.h>
#include <linux/nfs_fs_sb.h>