diff options
author | Andrew Morton <akpm@osdl.org> | 2005-07-12 16:58:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 19:00:58 -0400 |
commit | d53d9f16ea95a91ad4aa114809dcde486ca4000d (patch) | |
tree | f9cacb8d23e209653c6af2d30791ee93593ceda3 /init | |
parent | 22a4427972af371fddb49c0184a93851ad51070d (diff) |
[PATCH] name_to_dev_t warning fix
kernel/power/disk.c needs a declaration of name_to_dev_t() in scope. mount.h
seems like an appropriate choice.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init')
-rw-r--r-- | init/do_mounts.c | 1 | ||||
-rw-r--r-- | init/do_mounts.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c index b7570c074d0..1b02be734cc 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c | |||
@@ -7,6 +7,7 @@ | |||
7 | #include <linux/root_dev.h> | 7 | #include <linux/root_dev.h> |
8 | #include <linux/security.h> | 8 | #include <linux/security.h> |
9 | #include <linux/delay.h> | 9 | #include <linux/delay.h> |
10 | #include <linux/mount.h> | ||
10 | 11 | ||
11 | #include <linux/nfs_fs.h> | 12 | #include <linux/nfs_fs.h> |
12 | #include <linux/nfs_fs_sb.h> | 13 | #include <linux/nfs_fs_sb.h> |
diff --git a/init/do_mounts.h b/init/do_mounts.h index de92bee4f35..e0a7ac9649e 100644 --- a/init/do_mounts.h +++ b/init/do_mounts.h | |||
@@ -9,7 +9,6 @@ | |||
9 | #include <linux/major.h> | 9 | #include <linux/major.h> |
10 | #include <linux/root_dev.h> | 10 | #include <linux/root_dev.h> |
11 | 11 | ||
12 | dev_t name_to_dev_t(char *name); | ||
13 | void change_floppy(char *fmt, ...); | 12 | void change_floppy(char *fmt, ...); |
14 | void mount_block_root(char *name, int flags); | 13 | void mount_block_root(char *name, int flags); |
15 | void mount_root(void); | 14 | void mount_root(void); |