summaryrefslogtreecommitdiffstats
path: root/kernel/power/disk.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-07-12 13:58:07 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-12 16:00:58 -0700
commitd53d9f16ea95a91ad4aa114809dcde486ca4000d (patch)
treef9cacb8d23e209653c6af2d30791ee93593ceda3 /kernel/power/disk.c
parent22a4427972af371fddb49c0184a93851ad51070d (diff)
downloadlinux-d53d9f16ea95a91ad4aa114809dcde486ca4000d.tar.gz
linux-d53d9f16ea95a91ad4aa114809dcde486ca4000d.tar.bz2
linux-d53d9f16ea95a91ad4aa114809dcde486ca4000d.zip
[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 'kernel/power/disk.c')
-rw-r--r--kernel/power/disk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/power/disk.c b/kernel/power/disk.c
index c51a4d96d4eb..3ec789c6b537 100644
--- a/kernel/power/disk.c
+++ b/kernel/power/disk.c
@@ -16,6 +16,8 @@
#include <linux/device.h>
#include <linux/delay.h>
#include <linux/fs.h>
+#include <linux/mount.h>
+
#include "power.h"