Skip to content
Commit 4d551465 authored by Herbert Poetzl's avatar Herbert Poetzl Committed by Linus Torvalds
Browse files

[PATCH] mtd: fix broken name_to_dev_t() declaration



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.

Signed-off-by: default avatarHerbert Poetzl <herbert@13thfloor.at>
Acked-by: default avatarMicah Anderson <micah@riseup.net>
Acked-by: default avatarDaniel Hokka Zakrisson <daniel@hozac.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Acked-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 84e699e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment