]> nv-tegra.nvidia Code Review - linux-3.10.git/commit
[MTD] bast-flash partitions fixup
authorBen Dooks <ben@simtec.co.uk>
Tue, 18 Jan 2005 11:13:50 +0000 (11:13 +0000)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 23 May 2005 09:28:55 +0000 (11:28 +0200)
commit6fc93d8ca7a093feb403aca4ee3cb5bda338392c
tree9da44daa876860644e06cbf0f3563eba63030f75
parent97f1a087dc83cac54d740bf24888e565962b8f4d
[MTD] bast-flash partitions fixup

Ensure the whole device is added if there are no partitions found on the
device, so that at least the flash can be read/written.

Replace some of the constants with their SZ_xxx counterparts

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/maps/bast-flash.c