public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [patch 01/13] drivers/mtd/nand/nandsim.c needs div64.h
@ 2008-07-30 19:34 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2008-07-30 19:34 UTC (permalink / raw)
  To: dwmw2; +Cc: sfr, akpm, linux-mtd

From: Andrew Morton <akpm@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@infradead.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@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>
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-30 19:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-30 19:34 [patch 01/13] drivers/mtd/nand/nandsim.c needs div64.h akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox