Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4474573a authored by Randy Dunlap's avatar Randy Dunlap Committed by David Woodhouse
Browse files

[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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 7e74a507
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)  || \