summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-03-29 16:53:13 +1100
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-03-29 14:14:04 +0100
commit8da552f26107f55186346cff280ec9d53cc42add (patch)
tree979e11d45b31d4715e9aa32f82c3f46392b334be /drivers
parent01de69c2b0e471844193532a85c173f51d9ea6b2 (diff)
downloadtalos-obmc-linux-8da552f26107f55186346cff280ec9d53cc42add.tar.gz
talos-obmc-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>
Diffstat (limited to 'drivers')
-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"
OpenPOWER on IntegriCloud