2008-03-30 23:06:31

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] 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 <[email protected]>

---

This patch has been sent on:
- 1 Mar 2008

e5c6b847745aa7cb3d345ff3943c1b4c61b8ae91 foobar
diff --git a/init/do_mounts.c b/init/do_mounts.c
index 56e3b17..a1c52ba 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>