From: Marc Kleine-Budde Date: Wed, 8 Feb 2012 19:24:29 +0000 (+0100) Subject: mtd: ixp4xx: oops in ixp4xx_flash_probe X-Git-Tag: v3.4-rc1~16^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3c1e3b732b3708a80e4035b9d845f3f7c7dd0c9;p=pandora-kernel.git mtd: ixp4xx: oops in ixp4xx_flash_probe In commit "c797533 mtd: abstract last MTD partition parser argument" the third argument of "mtd_device_parse_register()" changed from start address of the MTD device to a pointer to a struct. The "ixp4xx_flash_probe()" function was not converted properly, causing an oops during boot. This patch fixes the problem by filling the needed information into a "struct mtd_part_parser_data" and passing it to "mtd_device_parse_register()". Signed-off-by: Marc Kleine-Budde Signed-off-by: Artem Bityutskiy Cc: stable@kernel.org [3.2+] Signed-off-by: David Woodhouse --- Reading git-diff-tree failed