summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2008-06-05 09:43:03 -0700
committerDavid Woodhouse <dwmw2@infradead.org>2008-06-05 19:45:19 +0100
commit4474573a90bae41351fad576fa80c424d62be567 (patch)
treedbd9d62b026cd3878226697837bd22a49347393f /drivers
parent7e74a5076edb3555dc6c96dc91b155706515bb4c (diff)
downloadblackbird-op-linux-4474573a90bae41351fad576fa80c424d62be567.tar.gz
blackbird-op-linux-4474573a90bae41351fad576fa80c424d62be567.zip
[MTD] [NAND] nandsim: missing header for do_div
Fix nandsim build error, missing #include: linux-next-20080605/drivers/mtd/nand/nandsim.c: In function 'divide': linux-next-20080605/drivers/mtd/nand/nandsim.c:462: error: implicit declaration of function 'do_div' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers')
-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 add975a229a7..ecd70e2504f6 100644
--- a/drivers/mtd/nand/nandsim.c
+++ b/drivers/mtd/nand/nandsim.c
@@ -37,6 +37,7 @@
#include <linux/delay.h>
#include <linux/list.h>
#include <linux/random.h>
+#include <asm/div64.h>
/* Default simulator parameters values */
#if !defined(CONFIG_NANDSIM_FIRST_ID_BYTE) || \
OpenPOWER on IntegriCloud