drivers/mtd/nand/nandsim.c needs div64.h
Subsystems (2)
PATCH 1/13 drivers/mtd/nand/nandsim.c needs div64.h
From: Andrew Morton <[email protected]>
drivers/mtd/nand/nandsim.c: In function 'divide':drivers/mtd/nand/nandsim.c:462: error: implicit declaration of function 'do_div'
Cc David Woodhouse <[email protected]>
Cc Stephen Rothwell <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/mtd/nand/nandsim.c | 1 + 1 file changed, 1 insertion(+)
drivers/mtd/nand/nandsim.c renamed from drivers/mtd/nand/nandsim.c~drivers-mtd-nand-nandsimc-needs-div64h +1 -0
@@ -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>
_