Patchwork [#upstream] libata-transport: Fix compilation error on powerpc

login
register
mail settings
Submitter Gwendal Grignou
Date Aug. 19, 2010, 2:37 a.m.
Message ID <1282185432-7069-1-git-send-email-gwendal@google.com>
Download mbox | patch
Permalink /patch/62101/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Gwendal Grignou - Aug. 19, 2010, 2:37 a.m.
slab.h was not included when compiling for powerpc.
It is implicitely included for x86.

Signed-off-by: Gwendal Grignou <gwendal@google.com>
---
 drivers/ata/libata-transport.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/drivers/ata/libata-transport.c b/drivers/ata/libata-transport.c
index a80860f..c136efc 100644
--- a/drivers/ata/libata-transport.c
+++ b/drivers/ata/libata-transport.c
@@ -25,6 +25,7 @@ 
 
 
 #include <linux/kernel.h>
+#include <linux/slab.h>
 #include <linux/blkdev.h>
 #include <linux/spinlock.h>
 #include <scsi/scsi_transport.h>