From: vimal singh Date: Sat, 27 Jun 2009 05:37:06 +0000 (+0530) Subject: mtd: nand: fix build failure and incorrect return from omap_wait() X-Git-Tag: Release-2010-05/1~2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=867d1f97777e35093d9c956e7e78698b6bd3bf95;p=pandora-kernel.git mtd: nand: fix build failure and incorrect return from omap_wait() We need to include jiffies.h manually in some cases, and the status returned from omap_wait() was broken in two separate ways. Also add cond_resched() to the loop. Signed-off-by: Vimal Singh Signed-off-by: David Woodhouse --- Reading git-diff-tree failed