diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-12-17 12:46:17 -0800 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-01-05 12:59:32 +0100 |
commit | a5cce42f357b3106fb0eacd85edec5ae31288956 (patch) | |
tree | 942a945fdf325a199011c17ca6d40f10aa25672c /drivers/mtd | |
parent | 232ed5e68a969b1717afdb1d4c49146e5beb5465 (diff) | |
download | op-kernel-dev-a5cce42f357b3106fb0eacd85edec5ae31288956.zip op-kernel-dev-a5cce42f357b3106fb0eacd85edec5ae31288956.tar.gz |
[MTD] [NAND] fix nandsim sched.h references
Fix sched.h references:
build-r7149.out:/local/linsrc/linux-next-20081215/drivers/mtd/nand/nandsim.c:1326: error: dereferencing pointer to incomplete type
build-r7149.out:/local/linsrc/linux-next-20081215/drivers/mtd/nand/nandsim.c:1326: error: 'PF_MEMALLOC' undeclared (first use in this function)
build-r7149.out:/local/linsrc/linux-next-20081215/drivers/mtd/nand/nandsim.c:1328: error: dereferencing pointer to incomplete type
build-r7149.out:/local/linsrc/linux-next-20081215/drivers/mtd/nand/nandsim.c:1335: error: dereferencing pointer to incomplete type
build-r7149.out:/local/linsrc/linux-next-20081215/drivers/mtd/nand/nandsim.c:1335: error: 'PF_MEMALLOC' undeclared (first use in this function)
build-r7149.out:make[4]: *** [drivers/mtd/nand/nandsim.o] Error 1
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/nandsim.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/nandsim.c b/drivers/mtd/nand/nandsim.c index 23b53fc..cd0711b 100644 --- a/drivers/mtd/nand/nandsim.c +++ b/drivers/mtd/nand/nandsim.c @@ -38,6 +38,7 @@ #include <linux/delay.h> #include <linux/list.h> #include <linux/random.h> +#include <linux/sched.h> #include <linux/fs.h> #include <linux/pagemap.h> |