aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2008-06-05 12:43:03 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2008-06-05 14:45:19 -0400
commit4474573a90bae41351fad576fa80c424d62be567 (patch)
treedbd9d62b026cd3878226697837bd22a49347393f /drivers/mtd
parent7e74a5076edb3555dc6c96dc91b155706515bb4c (diff)
[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/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 add975a229a7..ecd70e2504f6 100644
--- a/drivers/mtd/nand/nandsim.c
+++ b/drivers/mtd/nand/nandsim.c
@@ -37,6 +37,7 @@
37#include <linux/delay.h> 37#include <linux/delay.h>
38#include <linux/list.h> 38#include <linux/list.h>
39#include <linux/random.h> 39#include <linux/random.h>
40#include <asm/div64.h>
40 41
41/* Default simulator parameters values */ 42/* Default simulator parameters values */
42#if !defined(CONFIG_NANDSIM_FIRST_ID_BYTE) || \ 43#if !defined(CONFIG_NANDSIM_FIRST_ID_BYTE) || \