From: Andrew Morton drivers/mtd/ubi/cdev.c:356: warning: implicit declaration of function 'cond_resched' Cc: Artem Bityutskiy Signed-off-by: Andrew Morton --- drivers/mtd/ubi/cdev.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/mtd/ubi/cdev.c~git-ubi-build-fix drivers/mtd/ubi/cdev.c --- a/drivers/mtd/ubi/cdev.c~git-ubi-build-fix +++ a/drivers/mtd/ubi/cdev.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include _