diff options
author | Andrew Morton <akpm@osdl.org> | 2005-11-10 16:21:38 -0800 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-11 05:48:46 -0500 |
commit | 1c72d8d90da3b29540c3c281a3e0b743ee6b6f74 (patch) | |
tree | bc95e6460038369531dac40b2450dbf017f1153a /include/linux/libata.h | |
parent | 3b7d697dfb7d03edb87e50b743a7ecff029618e9 (diff) | |
download | op-kernel-dev-1c72d8d90da3b29540c3c281a3e0b743ee6b6f74.zip op-kernel-dev-1c72d8d90da3b29540c3c281a3e0b743ee6b6f74.tar.gz |
[PATCH] libata.h needs dma-mapping.h
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>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 6f07522..a539031 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -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> |