diff options
author | Tony Lindgren <tony@atomide.com> | 2011-11-23 17:46:10 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-11-23 17:46:10 -0500 |
commit | 52f3a41e0aca5625fbd118ed57a4debb25817e99 (patch) | |
tree | 86730c862fc97eef5f1eb1a81bf74bf2a8a36754 /arch/arm/mach-at91/board-kb9202.c | |
parent | e9b7086b80c4d9e354f4edc9e280ae85a60df408 (diff) | |
parent | 8770b07c2dff3cec2c751b289ee690137c88ea54 (diff) |
Merge branch 'fixes-v3.2-rc2' into fixes
Diffstat (limited to 'arch/arm/mach-at91/board-kb9202.c')
-rw-r--r-- | arch/arm/mach-at91/board-kb9202.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-at91/board-kb9202.c b/arch/arm/mach-at91/board-kb9202.c index 15a3f1a87ab0..e61351ffad50 100644 --- a/arch/arm/mach-at91/board-kb9202.c +++ b/arch/arm/mach-at91/board-kb9202.c | |||
@@ -97,19 +97,14 @@ static struct mtd_partition __initdata kb9202_nand_partition[] = { | |||
97 | }, | 97 | }, |
98 | }; | 98 | }; |
99 | 99 | ||
100 | static struct mtd_partition * __init nand_partitions(int size, int *num_partitions) | ||
101 | { | ||
102 | *num_partitions = ARRAY_SIZE(kb9202_nand_partition); | ||
103 | return kb9202_nand_partition; | ||
104 | } | ||
105 | |||
106 | static struct atmel_nand_data __initdata kb9202_nand_data = { | 100 | static struct atmel_nand_data __initdata kb9202_nand_data = { |
107 | .ale = 22, | 101 | .ale = 22, |
108 | .cle = 21, | 102 | .cle = 21, |
109 | // .det_pin = ... not there | 103 | // .det_pin = ... not there |
110 | .rdy_pin = AT91_PIN_PC29, | 104 | .rdy_pin = AT91_PIN_PC29, |
111 | .enable_pin = AT91_PIN_PC28, | 105 | .enable_pin = AT91_PIN_PC28, |
112 | .partition_info = nand_partitions, | 106 | .parts = kb9202_nand_partition, |
107 | .num_parts = ARRAY_SIZE(kb9202_nand_partition), | ||
113 | }; | 108 | }; |
114 | 109 | ||
115 | static void __init kb9202_board_init(void) | 110 | static void __init kb9202_board_init(void) |