[MTD] [NAND] drivers/mtd/nand/nandsim.c needs div64.h
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 30 Jul 2008 19:34:56 +0000 (12:34 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 1 Aug 2008 14:33:32 +0000 (15:33 +0100)
drivers/mtd/nand/nandsim.c: In function 'divide':
drivers/mtd/nand/nandsim.c:462: error: implicit declaration of function 'do_div'

Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nandsim.c

index 7428a6c1135e2d556a96b9ade9c651b047e3db0e..5d08514f553c8155d9325f3e567a1e939b5b7d8b 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/vmalloc.h>
+#include <asm/div64.h>
 #include <linux/slab.h>
 #include <linux/errno.h>
 #include <linux/string.h>