]> git.sur5r.net Git - u-boot/commit
nand: fix bug with multiple NAND devices if CONFIG_MTD_DEVICE is defined.
authorAlexander Holler <holler@ahsoftware.de>
Sat, 18 Dec 2010 02:16:28 +0000 (02:16 +0000)
committerScott Wood <scottwood@freescale.com>
Wed, 12 Jan 2011 23:13:10 +0000 (17:13 -0600)
commit7fab9dfffab3a662f6ef1967dcb90618fd28df3c
tree00bb765bae9b0c6974cd3d0e8bdb951b4a2d001a
parentc6b734f5aea2ba75caaa1929f7e649ecda8d2f31
nand: fix bug with multiple NAND devices if CONFIG_MTD_DEVICE is defined.

The variable i has to be static, otherwise it would be always zero.

Signed-off-by: Alexander Holler <holler@ahsoftware.de>
drivers/mtd/nand/nand.c