]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: Disable mtdchar mmap on MMU systems
authorDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 9 Oct 2012 14:08:10 +0000 (15:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2013 04:27:27 +0000 (21:27 -0700)
commit06ce3e44cb3152be067f7a637a08df8c577f4620
treee0d9cd8135403a581fc3823f0d86d44216af3905
parent880f56d9b7d77917de8bde461c69e4293cc04dd0
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