mtd: Disable mtdchar mmap on MMU systems
commitc6c8807630f086872b446cc66752a1835df5e9d7
authorDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 9 Oct 2012 14:08:10 +0000 (9 15:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2013 04:02:31 +0000 (16 21:02 -0700)
treed026d7bb3c51ce7c68e8026d07f48af3bcb95c07
parentf0776cdd7c35a4b4ca7b80e6afc4ecd0d26831d7
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mtd/mtdchar.c