Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a3c1e3b7 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde Committed by David Woodhouse
Browse files

mtd: ixp4xx: oops in ixp4xx_flash_probe



In commit "c7975330 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: default avatarMarc Kleine-Budde <mkl@blackshift.org>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Cc: stable@kernel.org [3.2+]
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent de3cac93
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment