From: Peter Huewe Date: Thu, 7 Jan 2010 01:51:13 +0000 (+0100) Subject: mtd: orion_nand: Fix build failure caused by typo X-Git-Tag: v2.6.35-rc1~465^2~139 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d6bfc261a02662ec7a3a78df3e05e453e8b168d;p=pandora-kernel.git 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 Reviewed-by: H Hartley Sweeten Acked-by: Uwe Kleine-König Signed-off-by: David Woodhouse Signed-off-by: Andrew Morton --- Reading git-diff-tree failed