diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-06-05 09:43:03 -0700 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-06-05 19:45:19 +0100 |
commit | 4474573a90bae41351fad576fa80c424d62be567 (patch) | |
tree | dbd9d62b026cd3878226697837bd22a49347393f /drivers/mtd/nand/nandsim.c | |
parent | 7e74a5076edb3555dc6c96dc91b155706515bb4c (diff) | |
download | op-kernel-dev-4474573a90bae41351fad576fa80c424d62be567.zip op-kernel-dev-4474573a90bae41351fad576fa80c424d62be567.tar.gz |
[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/nand/nandsim.c')
-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 add975a..ecd70e2 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) || \ |