diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-03-29 01:53:13 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-03-29 09:14:04 -0400 |
commit | 8da552f26107f55186346cff280ec9d53cc42add (patch) | |
tree | 979e11d45b31d4715e9aa32f82c3f46392b334be /drivers/mtd | |
parent | 01de69c2b0e471844193532a85c173f51d9ea6b2 (diff) |
mtd: SmartMedia/xD FTL: use of kmalloc/kfree requires the include of slab.h
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/sm_ftl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/sm_ftl.c b/drivers/mtd/sm_ftl.c index a9b4e344c55c..4c215896fbcc 100644 --- a/drivers/mtd/sm_ftl.c +++ b/drivers/mtd/sm_ftl.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/freezer.h> | 15 | #include <linux/freezer.h> |
16 | #include <linux/sysfs.h> | 16 | #include <linux/sysfs.h> |
17 | #include <linux/bitops.h> | 17 | #include <linux/bitops.h> |
18 | #include <linux/slab.h> | ||
18 | #include <linux/mtd/nand_ecc.h> | 19 | #include <linux/mtd/nand_ecc.h> |
19 | #include "nand/sm_common.h" | 20 | #include "nand/sm_common.h" |
20 | #include "sm_ftl.h" | 21 | #include "sm_ftl.h" |