]> git.baikalelectronics.ru Git - kernel.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)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 9 Oct 2012 14:08:42 +0000 (15:08 +0100)
commitf2f3781073babe12ad649ce78770d0a7ce08f862
treed29db1e640937a02a827a01628f88b03f20f9239
parente6e624324fe9745e29de0a5e1e10b0cb061a6b89
mtd: Disable mtdchar mmap on MMU systems

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>
drivers/mtd/mtdchar.c