mtd: update gfp/slab.h includes
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Wed May 19 17:59:03 EDT 2010
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=05d71b4625bdadd7c7ae80455e7038e221c76e4d
Commit: 05d71b4625bdadd7c7ae80455e7038e221c76e4d
Parent: 9723152ad1efb844445e63f052e6d39e85e11649
Author: Tejun Heo <tj at kernel.org>
AuthorDate: Tue Mar 30 02:52:39 2010 +0900
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Wed May 19 17:21:52 2010 +0100
mtd: update gfp/slab.h includes
Implicit slab.h inclusion via percpu.h is about to go away. Make sure
gfp.h or slab.h is included as necessary.
Signed-off-by: Tejun Heo <tj at kernel.org>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/mtdcore.c | 1 +
drivers/mtd/nand/mpc5121_nfc.c | 1 +
drivers/mtd/nand/r852.c | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
index 3ae06c8..a1b8b70 100644
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
@@ -21,6 +21,7 @@
#include <linux/proc_fs.h>
#include <linux/idr.h>
#include <linux/backing-dev.h>
+#include <linux/gfp.h>
#include <linux/mtd/mtd.h>
diff --git a/drivers/mtd/nand/mpc5121_nfc.c b/drivers/mtd/nand/mpc5121_nfc.c
index f713b15..3d0867d 100644
--- a/drivers/mtd/nand/mpc5121_nfc.c
+++ b/drivers/mtd/nand/mpc5121_nfc.c
@@ -27,6 +27,7 @@
#include <linux/module.h>
#include <linux/clk.h>
+#include <linux/gfp.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/interrupt.h>
diff --git a/drivers/mtd/nand/r852.c b/drivers/mtd/nand/r852.c
index 6dfbb47..78a4232 100644
--- a/drivers/mtd/nand/r852.c
+++ b/drivers/mtd/nand/r852.c
@@ -15,6 +15,7 @@
#include <linux/pci.h>
#include <linux/pci_ids.h>
#include <linux/delay.h>
+#include <linux/slab.h>
#include <asm/byteorder.h>
#include <linux/sched.h>
#include "sm_common.h"
More information about the linux-mtd-cvs
mailing list