summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-25 10:45:29 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 19:53:27 +0200
commit82c8253ac27291d6c70114eb445c714359812a10 (patch)
tree646d86b635a9e74a9525c283e178dcdc605a7fd0 /init
parentfix checkstack.pl arch detection (diff)
downloadlinux-82c8253ac27291d6c70114eb445c714359812a10.tar.xz
linux-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 a1de1bf3d6b9..f769fac4f4c0 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>