From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200807301934.m6UJYu62012273@imap1.linux-foundation.org> Subject: [patch 01/13] drivers/mtd/nand/nandsim.c needs div64.h To: dwmw2@infradead.org From: akpm@linux-foundation.org Date: Wed, 30 Jul 2008 12:34:56 -0700 Cc: sfr@canb.auug.org.au, akpm@linux-foundation.org, linux-mtd@lists.infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrew Morton drivers/mtd/nand/nandsim.c: In function 'divide': drivers/mtd/nand/nandsim.c:462: error: implicit declaration of function 'do_div' Cc: David Woodhouse Cc: Stephen Rothwell Signed-off-by: Andrew Morton --- drivers/mtd/nand/nandsim.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/mtd/nand/nandsim.c~drivers-mtd-nand-nandsimc-needs-div64h drivers/mtd/nand/nandsim.c --- a/drivers/mtd/nand/nandsim.c~drivers-mtd-nand-nandsimc-needs-div64h +++ a/drivers/mtd/nand/nandsim.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include _