Commit 1c72d8d90da3b29540c3c281a3e0b743ee6b6f74

Authored by Andrew Morton
Committed by Jeff Garzik
1 parent 3b7d697dfb

[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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

include/linux/libata.h
... ... @@ -29,6 +29,7 @@
29 29 #include <linux/delay.h>
30 30 #include <linux/interrupt.h>
31 31 #include <linux/pci.h>
  32 +#include <linux/dma-mapping.h>
32 33 #include <asm/io.h>
33 34 #include <linux/ata.h>
34 35 #include <linux/workqueue.h>