move name_to_dev_t prototype where it belongs
Subsystems (3)
PATCH 1/1 move name_to_dev_t prototype where it belongs
...this fixes warning in swsusp and removes two prototypes done "by hand".
Signed-off-by Pavel Machek <[email protected]>
include/linux/mount.h +1 -0
@@ -74,6 +74,7 @@ int mnt_flags, struct list_head *fslist);extern void mark_mounts_for_expiry (struct list_head *mounts); +extern dev_t name_to_dev_t (char *name);extern spinlock_t vfsmount_lock;
init/do_mounts.h +0 -1
@@ -9,7 +9,6 @@#include <linux/major.h> #include <linux/root_dev.h> -dev_t name_to_dev_t (char *name);void change_floppy (char *fmt, ...);void mount_block_root (char *name,int flags);void mount_root (void );
kernel/power/disk.c +1 -0
@@ -16,6 +16,7 @@#include <linux/device.h> #include <linux/delay.h> #include <linux/fs.h> +#include <linux/mount.h> #include "power.h"
kernel/power/swsusp.c +0 -2
@@ -1399,8 +1399,6 @@return error; } -extern dev_t name_to_dev_t (const char *line); -/** * read_pagedir - Read page backup list pages from swap */
Signature · 1 line
teflon -- maybe it is a trademark, but it should not be.