mtd: SmartMedia/xD FTL: use of kmalloc/kfree requires the include of slab.h

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Mar 29 09:59:01 EDT 2010


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=8da552f26107f55186346cff280ec9d53cc42add
Commit:     8da552f26107f55186346cff280ec9d53cc42add
Parent:     01de69c2b0e471844193532a85c173f51d9ea6b2
Author:     Stephen Rothwell <sfr at canb.auug.org.au>
AuthorDate: Mon Mar 29 16:53:13 2010 +1100
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Mon Mar 29 14:14:04 2010 +0100

    mtd: SmartMedia/xD FTL: use of kmalloc/kfree requires the include of slab.h
    
    Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/sm_ftl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/sm_ftl.c b/drivers/mtd/sm_ftl.c
index a9b4e34..4c21589 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"



More information about the linux-mtd-cvs mailing list