Skip to content

Commit 8da552f

Browse files
sfrothwellDavid Woodhouse
authored andcommitted
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>
1 parent 01de69c commit 8da552f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/mtd/sm_ftl.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <linux/freezer.h>
1616
#include <linux/sysfs.h>
1717
#include <linux/bitops.h>
18+
#include <linux/slab.h>
1819
#include <linux/mtd/nand_ecc.h>
1920
#include "nand/sm_common.h"
2021
#include "sm_ftl.h"

0 commit comments

Comments
 (0)