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: v2.6.31-rc2~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c276aca46d26aa2347320096f8ecdf5016795c14;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