mtd: Disable mtdchar mmap on MMU systems
authorDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 9 Oct 2012 14:08:10 +0000 (15:08 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 25 Apr 2013 19:25:48 +0000 (20:25 +0100)
commit095a3cac24ab4bc77ca12efd6198ca237282801e
treebe02f75e46f2b45c459f5cdae2905fd201b3c8cd
parent8b060e4133e4c72dcff12e7e4a0ada07354ef953
mtd: Disable mtdchar mmap on MMU systems

commit f5cf8f07423b2677cebebcebc863af77223a4972 upstream.

This code was broken because it assumed that all MTD devices were map-based.
Disable it for now, until it can be fixed properly for the next merge window.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/mtd/mtdchar.c