]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mtd: SmartMedia/xD FTL: use of kmalloc/kfree requires the include of slab.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 29 Mar 2010 05:53:13 +0000 (16:53 +1100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 29 Mar 2010 13:14:04 +0000 (14:14 +0100)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/sm_ftl.c

index a9b4e344c55c7705ad063a4fcbb8b2e7cd91cd88..4c215896fbcc2a0647d80ea505f379d3244e680b 100644 (file)
@@ -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"