瀏覽代碼

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 年之前
父節點
當前提交
8da552f261
共有 1 個文件被更改,包括 1 次插入0 次删除
  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"