diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-07-30 19:34:56 (GMT) |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-08-01 14:33:32 (GMT) |
commit | fc1f397b2c7ef1c9bad58778e4041dfabf20c71c (patch) | |
tree | 7320cc9734c358ca44278845b9f5e981df6a48d8 | |
parent | b7600dba6d4fbf3897e517b322d006986cce831a (diff) | |
download | linux-fsl-qoriq-fc1f397b2c7ef1c9bad58778e4041dfabf20c71c.tar.xz |
[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@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r-- | 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> |