From: Andrew Morton Date: Wed, 30 Jul 2008 19:34:56 +0000 (-0700) Subject: [MTD] [NAND] drivers/mtd/nand/nandsim.c needs div64.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fc1f397b2c7ef1c9bad58778e4041dfabf20c71c;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [MTD] [NAND] drivers/mtd/nand/nandsim.c needs div64.h drivers/mtd/nand/nandsim.c: In function 'divide': drivers/mtd/nand/nandsim.c:462: error: implicit declaration of function 'do_div' Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/nand/nandsim.c b/drivers/mtd/nand/nandsim.c index 7428a6c1135..5d08514f553 100644 --- a/drivers/mtd/nand/nandsim.c +++ b/drivers/mtd/nand/nandsim.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include