lkml.org 
[lkml]   [2008]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] drivers/mtd/mtdsuper.c: fix build error
From: Alexander Beregalov <a.beregalov@gmail.com>

drivers/mtd/mtdsuper.c: fix build error

drivers/mtd/mtdsuper.c:184: error: implicit declaration of
function 'lookup_bdev'
drivers/mtd/mtdsuper.c:197: error: implicit declaration of
function 'bdput'

Introduced by commit d5686b444ff3f72808d2b3fbd58672a86cdf38e7


Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
---

drivers/mtd/mtdsuper.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/mtdsuper.c b/drivers/mtd/mtdsuper.c
index 9b6af7e..ec950cd 100644
--- a/drivers/mtd/mtdsuper.c
+++ b/drivers/mtd/mtdsuper.c
@@ -13,6 +13,7 @@
#include <linux/mtd/super.h>
#include <linux/namei.h>
#include <linux/ctype.h>
+#include <linux/fs.h>

/*
* compare superblocks to see if they're equivalent

\
 
 \ /
  Last update: 2008-08-03 00:55    [W:0.031 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site