diff options
author | Marc Kleine-Budde <mkl@blackshift.org> | 2012-02-08 20:24:29 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-03-27 00:33:33 +0100 |
commit | a3c1e3b732b3708a80e4035b9d845f3f7c7dd0c9 (patch) | |
tree | 69a9062178170e7ae2e9f92cb28dca19c0e5100c /kernel/time.c | |
parent | de3cac9357b5aa9f9f02520e5f2567b06f3f75a7 (diff) | |
download | linux-stable-a3c1e3b732b3708a80e4035b9d845f3f7c7dd0c9.tar.gz linux-stable-a3c1e3b732b3708a80e4035b9d845f3f7c7dd0c9.tar.bz2 linux-stable-a3c1e3b732b3708a80e4035b9d845f3f7c7dd0c9.zip |
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 <mkl@blackshift.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Cc: stable@kernel.org [3.2+]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'kernel/time.c')
0 files changed, 0 insertions, 0 deletions