summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-07-30 12:34:56 -0700
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-08-01 15:33:32 +0100
commitfc1f397b2c7ef1c9bad58778e4041dfabf20c71c (patch)
tree7320cc9734c358ca44278845b9f5e981df6a48d8 /drivers/mtd
parentb7600dba6d4fbf3897e517b322d006986cce831a (diff)
downloadlinux-stable-fc1f397b2c7ef1c9bad58778e4041dfabf20c71c.tar.gz
linux-stable-fc1f397b2c7ef1c9bad58778e4041dfabf20c71c.tar.bz2
linux-stable-fc1f397b2c7ef1c9bad58778e4041dfabf20c71c.zip
[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>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/nandsim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/nandsim.c b/drivers/mtd/nand/nandsim.c
index 7428a6c1135e..5d08514f553c 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>