diff options
author | vimal singh <vimalsingh@ti.com> | 2009-06-27 11:07:06 +0530 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-06-28 10:24:13 +0100 |
commit | c276aca46d26aa2347320096f8ecdf5016795c14 (patch) | |
tree | f14661eddba0e90f6c61d357ece4866e79177f78 /drivers/mtd/mtdpart.c | |
parent | 70ec3bb8ea3f8c55b255f41d122c7d4d8c0d00b4 (diff) |
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 <vimalsingh@ti.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/mtdpart.c')
0 files changed, 0 insertions, 0 deletions