]> bbs.cooldavid.org Git - net-next-2.6.git/commit
mtd: orion_nand: Fix build failure caused by typo
authorPeter Huewe <peterhuewe@gmx.de>
Thu, 7 Jan 2010 01:51:13 +0000 (02:51 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 10 Feb 2010 18:14:39 +0000 (18:14 +0000)
commit2d6bfc261a02662ec7a3a78df3e05e453e8b168d
tree226e73d5967547267197f67aa80be736f82ce9a3
parent7603757993e7ce3e63b2280ccf61d8058b7b2414
mtd: orion_nand: Fix build failure caused by typo

Commit e99030609e27abff7e1a868cb56384c678b09984 ("mtd: orion_nand.c: add
error handling and use resource_size()") introduced a build error -- it
assigns something to a undeclared variable 'err', whereas the rest of
the code uses 'ret' for this task.

This patch fixes this typo and thus removes the build failure.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/mtd/nand/orion_nand.c