From: Herbert Poetzl <herbert@13thfloor.at>
To: Andrew Morton <akpm@osdl.org>,
Linux Kernel ML <linux-kernel@vger.kernel.org>
Cc: Micah Anderson <micah@riseup.net>,
Daniel Hokka Zakrisson <daniel@hozac.com>
Subject: [PATCH] mtd: fix broken name_to_dev_t() declaration
Date: Thu, 23 Mar 2006 21:02:05 +0100 [thread overview]
Message-ID: <20060323200205.GJ17981@MAIL.13thfloor.at> (raw)
Hi Andrew! Folks!
drivers/mtd/devices/blkmtd.c uses a local declaration
of name_to_dev_t() which is inconsistant with the real
one. the following patch fixes this by removing the
local declaration and including mount.h instead
this patch was originally done by Micah Anderson.
best,
Herbert
Signed-off-by: Herbert Poetzl <herbert@13thfloor.at>
Acked-by: Micah Anderson <micah@riseup.net>
Acked-by: Daniel Hokka Zakrisson <daniel@hozac.com>
---
--- ./drivers/mtd/devices/blkmtd.c.orig 2006-01-03 17:29:35 +0100
+++ ./drivers/mtd/devices/blkmtd.c 2006-03-23 20:53:58 +0100
@@ -28,6 +28,7 @@
#include <linux/pagemap.h>
#include <linux/list.h>
#include <linux/init.h>
+#include <linux/mount.h>
#include <linux/mtd/mtd.h>
@@ -614,8 +615,6 @@ static struct mtd_erase_region_info *cal
}
-extern dev_t __init name_to_dev_t(const char *line);
-
static struct blkmtd_dev *add_device(char *devname, int readonly, int erase_size)
{
struct block_device *bdev;
next reply other threads:[~2006-03-23 20:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-23 20:02 Herbert Poetzl [this message]
2006-03-23 23:46 ` Andrew Morton
2006-03-23 23:51 ` Herbert Poetzl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060323200205.GJ17981@MAIL.13thfloor.at \
--to=herbert@13thfloor.at \
--cc=akpm@osdl.org \
--cc=daniel@hozac.com \
--cc=linux-kernel@vger.kernel.org \
--cc=micah@riseup.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome