[patch 01/13] drivers/mtd/nand/nandsim.c needs div64.h
akpm at linux-foundation.org
akpm at linux-foundation.org
Wed Jul 30 15:34:56 EDT 2008
From: Andrew Morton <akpm at linux-foundation.org>
drivers/mtd/nand/nandsim.c: In function 'divide':
drivers/mtd/nand/nandsim.c:462: error: implicit declaration of function 'do_div'
Cc: David Woodhouse <dwmw2 at infradead.org>
Cc: Stephen Rothwell <sfr at canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
---
drivers/mtd/nand/nandsim.c | 1 +
1 file changed, 1 insertion(+)
diff -puN drivers/mtd/nand/nandsim.c~drivers-mtd-nand-nandsimc-needs-div64h drivers/mtd/nand/nandsim.c
--- a/drivers/mtd/nand/nandsim.c~drivers-mtd-nand-nandsimc-needs-div64h
+++ a/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>
_
More information about the linux-mtd
mailing list