[PATCH] libata.h needs dma-mapping.h
authorAndrew Morton <akpm@osdl.org>
Fri, 11 Nov 2005 00:21:38 +0000 (16:21 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 11 Nov 2005 10:48:46 +0000 (05:48 -0500)
On Alpha:

include/linux/libata.h: In function `ata_pad_alloc':
include/linux/libata.h:785: warning: implicit declaration of function `dma_alloc_coherent'
include/linux/libata.h:786: warning: assignment makes pointer from integer without a cast
include/linux/libata.h: In function `ata_pad_free':
include/linux/libata.h:792: warning: implicit declaration of function `dma_free_coherent'

(I have a decouple-some-header-files cleanup in -mm, so it's causing some
fallout of this nature)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
include/linux/libata.h

index 6f0752219f64052018f9663b62930329c722b888..a5390313c7b446722b5457baa53e848eebabc511 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/delay.h>
 #include <linux/interrupt.h>
 #include <linux/pci.h>
+#include <linux/dma-mapping.h>
 #include <asm/io.h>
 #include <linux/ata.h>
 #include <linux/workqueue.h>