aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2012-07-30 17:39:57 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-30 20:25:13 -0400
commit6c55845e71ba7a862395f504a240a5b62632e0d6 (patch)
tree7d67d97e0c9449a0d5d35cfa49a769b1c3f2615b /arch/avr32
parente47c6a3408ea6bcfc5204f23d5a5b209de6e68b9 (diff)
avr32: fix build error in ATSTK1002 code
Fix the error arch/avr32/boards/atstk1000/atstk1002.c:100: error: 'num_partitions' undeclared here (not in a function) which was introduced by commit 1754aab9bb86 ("mtd: ATMEL, AVR32: inline nand partition table access "). Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/avr32')
-rw-r--r--arch/avr32/boards/atstk1000/atstk1002.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c b/arch/avr32/boards/atstk1000/atstk1002.c
index dc526332148..6c80aba7bf9 100644
--- a/arch/avr32/boards/atstk1000/atstk1002.c
+++ b/arch/avr32/boards/atstk1000/atstk1002.c
@@ -97,7 +97,7 @@ static struct atmel_nand_data atstk1006_nand_data __initdata = {
97 .enable_pin = GPIO_PIN_PB(29), 97 .enable_pin = GPIO_PIN_PB(29),
98 .ecc_mode = NAND_ECC_SOFT, 98 .ecc_mode = NAND_ECC_SOFT,
99 .parts = nand_partitions, 99 .parts = nand_partitions,
100 .num_parts = ARRAY_SIZE(num_partitions), 100 .num_parts = ARRAY_SIZE(nand_partitions),
101}; 101};
102#endif 102#endif
103 103