[PATCH 17/29] pcmcia: update gfp/slab.h includes

Dominik Brodowski linux at dominikbrodowski.net
Wed May 19 02:42:53 EDT 2010


From: Tejun Heo <tj at kernel.org>

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>
Cc: Stephen Rothwell <sfr at canb.auug.org.au>
Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
---
 drivers/isdn/hardware/avm/avm_cs.c |    1 -
 drivers/pcmcia/pcmcia_cis.c        |    1 +
 drivers/pcmcia/rsrc_iodyn.c        |    1 +
 3 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/isdn/hardware/avm/avm_cs.c b/drivers/isdn/hardware/avm/avm_cs.c
index 8bbc452..f410d0e 100644
--- a/drivers/isdn/hardware/avm/avm_cs.c
+++ b/drivers/isdn/hardware/avm/avm_cs.c
@@ -13,7 +13,6 @@
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/ptrace.h>
-#include <linux/slab.h>
 #include <linux/string.h>
 #include <linux/tty.h>
 #include <linux/serial.h>
diff --git a/drivers/pcmcia/pcmcia_cis.c b/drivers/pcmcia/pcmcia_cis.c
index 7406387..4a65eaf 100644
--- a/drivers/pcmcia/pcmcia_cis.c
+++ b/drivers/pcmcia/pcmcia_cis.c
@@ -14,6 +14,7 @@
  *
  */
 
+#include <linux/slab.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/netdevice.h>
diff --git a/drivers/pcmcia/rsrc_iodyn.c b/drivers/pcmcia/rsrc_iodyn.c
index 7791375..d0bf350 100644
--- a/drivers/pcmcia/rsrc_iodyn.c
+++ b/drivers/pcmcia/rsrc_iodyn.c
@@ -12,6 +12,7 @@
  * (C) 1999		David A. Hinds
  */
 
+#include <linux/slab.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 
-- 
1.6.3.3




More information about the linux-pcmcia mailing list