summaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-03-30 02:52:43 +0900
committerJeff Garzik <jgarzik@redhat.com>2010-05-14 17:08:02 -0400
commitfbaf666b854c04b2d8ebca17114ee409ddea08b5 (patch)
tree8e4db33f928eb3554b1539d9745fedb01391df6a /drivers/ata
parent83f2b9630c5875ee872c11d98a0e26888514c1b3 (diff)
libata: 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@kernel.org> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/ahci_platform.c1
-rw-r--r--drivers/ata/libahci.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c
index 42cdd7363fad..19bfd1d76d40 100644
--- a/drivers/ata/ahci_platform.c
+++ b/drivers/ata/ahci_platform.c
@@ -13,6 +13,7 @@
*/
#include <linux/kernel.h>
+#include <linux/gfp.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/interrupt.h>
diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c
index 3f586ec84a3c..34fc57d0a9b8 100644
--- a/drivers/ata/libahci.c
+++ b/drivers/ata/libahci.c
@@ -33,6 +33,7 @@
*/
#include <linux/kernel.h>
+#include <linux/gfp.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/blkdev.h>