Browse Source

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>
Stephen Rothwell 15 years ago
parent
commit
8da552f261
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/mtd/sm_ftl.c

+ 1 - 0
drivers/mtd/sm_ftl.c

@@ -15,6 +15,7 @@
 #include <linux/freezer.h>
 #include <linux/freezer.h>
 #include <linux/sysfs.h>
 #include <linux/sysfs.h>
 #include <linux/bitops.h>
 #include <linux/bitops.h>
+#include <linux/slab.h>
 #include <linux/mtd/nand_ecc.h>
 #include <linux/mtd/nand_ecc.h>
 #include "nand/sm_common.h"
 #include "nand/sm_common.h"
 #include "sm_ftl.h"
 #include "sm_ftl.h"