Explorar o código

[ARM] pxa: update flash structure in onenand info

Since flash structure is changed from flash_platform_data to
onenand_platform_data in generic driver. Update the struct in saar
and ttc platform driver.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Haojian Zhuang %!s(int64=15) %!d(string=hai) anos
pai
achega
d62238711a
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      arch/arm/mach-mmp/ttc_dkb.c
  2. 1 1
      arch/arm/mach-pxa/saar.c

+ 1 - 1
arch/arm/mach-mmp/ttc_dkb.c

@@ -85,7 +85,7 @@ static struct mtd_partition ttc_dkb_onenand_partitions[] = {
 	}
 };
 
-static struct flash_platform_data ttc_dkb_onenand_info = {
+static struct onenand_platform_data ttc_dkb_onenand_info = {
 	.parts		= ttc_dkb_onenand_partitions,
 	.nr_parts	= ARRAY_SIZE(ttc_dkb_onenand_partitions),
 };

+ 1 - 1
arch/arm/mach-pxa/saar.c

@@ -545,7 +545,7 @@ static struct mtd_partition saar_onenand_partitions[] = {
 	}
 };
 
-static struct flash_platform_data saar_onenand_info = {
+static struct onenand_platform_data saar_onenand_info = {
 	.parts		= saar_onenand_partitions,
 	.nr_parts	= ARRAY_SIZE(saar_onenand_partitions),
 };