summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-03-29 07:53:13 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-03-29 15:14:04 +0200
commit8da552f26107f55186346cff280ec9d53cc42add (patch)
tree979e11d45b31d4715e9aa32f82c3f46392b334be
parentmtd: sm_ftl: remove CONFIG_SM_FTL_MUSEUM and make it always on (diff)
downloadlinux-8da552f26107f55186346cff280ec9d53cc42add.tar.xz
linux-8da552f26107f55186346cff280ec9d53cc42add.zip
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>
-rw-r--r--drivers/mtd/sm_ftl.c1
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 @@
#include <linux/freezer.h>
#include <linux/sysfs.h>
#include <linux/bitops.h>
+#include <linux/slab.h>
#include <linux/mtd/nand_ecc.h>
#include "nand/sm_common.h"
#include "sm_ftl.h"