linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] MTD: missing header for do_div
@ 2008-06-05 16:43 Randy.Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2008-06-05 16:43 UTC (permalink / raw)
  To: dwmw2; +Cc: linux-mtd, linux-next

From: Randy Dunlap <randy.dunlap@oracle.com>

Fix MTD 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>
---
 drivers/mtd/nand/nandsim.c |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20080605.orig/drivers/mtd/nand/nandsim.c
+++ linux-next-20080605/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)  || \

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

only message in thread, other threads:[~2008-06-05 16:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-05 16:43 [PATCH -next] MTD: missing header for do_div Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).