]> err.no Git - linux-2.6/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)
commitf40a6f1cc7fe522e51e1ac4c7ab3035a434f2cef
treed1d449a85661db1241f739bb6f05bc4765aa84e6
parentf2dd117fa51dd8fc071b1352254c0d14d2399b0a
[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