]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
avr32: fix build error in ATSTK1002 code
authorFengguang Wu <fengguang.wu@intel.com>
Mon, 30 Jul 2012 21:39:57 +0000 (14:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:13 +0000 (17:25 -0700)
commit6c55845e71ba7a862395f504a240a5b62632e0d6
tree7d67d97e0c9449a0d5d35cfa49a769b1c3f2615b
parente47c6a3408ea6bcfc5204f23d5a5b209de6e68b9
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>
arch/avr32/boards/atstk1000/atstk1002.c