]> bbs.cooldavid.org Git - net-next-2.6.git/commit
UBI: support attaching by MTD character device name
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 5 Jan 2010 14:48:40 +0000 (16:48 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 1 Feb 2010 13:16:36 +0000 (15:16 +0200)
commitf9b0080e10e0ce3b8acbe91ae6a50da4f2ed7339
tree7f9f45f0e689b1e3a84bdf944c166ce206563caf
parent9e0c7ef3f6c95357ce359a4f9223f0dfcd21cef7
UBI: support attaching by MTD character device name

This patch adds a capability to attach MTD devices by their character
device paths. For example, one can do:

$ modprobe ubi mtd=/dev/mtd0

to attach /dev/mtd0.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/build.c