Messages in this thread Patch in this message | | | Date | Sat, 1 Mar 2008 18:18:54 +0200 | From | Adrian Bunk <> | 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 <bunk@kernel.org>
--- 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>
| |