[MTD] [NAND] drivers/mtd/nand/nandsim.c needs div64.h
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Aug 1 10:59:01 EDT 2008
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=fc1f397b2c7ef1c9bad58778e4041dfabf20c71c
Commit: fc1f397b2c7ef1c9bad58778e4041dfabf20c71c
Parent: b7600dba6d4fbf3897e517b322d006986cce831a
Author: Andrew Morton <akpm at linux-foundation.org>
AuthorDate: Wed Jul 30 12:34:56 2008 -0700
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Aug 1 15:33:32 2008 +0100
[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 <sfr at canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/nand/nandsim.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/nandsim.c b/drivers/mtd/nand/nandsim.c
index 7428a6c..5d08514 100644
--- a/drivers/mtd/nand/nandsim.c
+++ b/drivers/mtd/nand/nandsim.c
@@ -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>
More information about the linux-mtd-cvs
mailing list