]> git.baikalelectronics.ru Git - kernel.git/commit
[MTD] Fix ixp4xx partition parsing.
authorBrian Walsh <brian@walsh.ws>
Fri, 22 Sep 2006 09:16:16 +0000 (10:16 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 22 Sep 2006 09:16:16 +0000 (10:16 +0100)
commit36d941711e2ab84845f803be42f0dbcaf4b9fb71
treed1d449a85661db1241f739bb6f05bc4765aa84e6
parent6d6cd5dced19200c276fd2cf83ee567ca631d4f1
[MTD] Fix ixp4xx partition parsing.

If the amount of flash is not divisible by 2 then the mask in
parse_mtd_partitions would fail to work as designed.  Passing in the base
address corrects this problem.

Signed-off-by: Brian Walsh <brian@walsh.ws>
Cc: Deepak Sanexa <dsanexa@mvista.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/maps/ixp4xx.c