diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-02-01 06:04:56 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-01 11:53:11 -0500 |
commit | ce5f8d70ba6e3d7ffcaff86b2cf91a42c27f77af (patch) | |
tree | f9e5a21e8683f0a69a01a3988f9beb3846b5fd95 /include/asm-alpha | |
parent | 3ee247ebce93a526f482d6bc714ce796fa85a81a (diff) |
[PATCH] alpha: dma-mapping.h: add "struct scatterlist;"
On alpha-jensen:
CC drivers/base/platform.o
In file included from include/linux/dma-mapping.h:24,
from drivers/base/platform.c:16:
include/asm/dma-mapping.h:36: warning: "struct scatterlist" declared inside parameter list
include/asm/dma-mapping.h:36: warning: its scope is only this definition or declaration, which is probably not what you want
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-alpha')
-rw-r--r-- | include/asm-alpha/dma-mapping.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-alpha/dma-mapping.h b/include/asm-alpha/dma-mapping.h index 9dc7256cf979..62d0d6681aa9 100644 --- a/include/asm-alpha/dma-mapping.h +++ b/include/asm-alpha/dma-mapping.h | |||
@@ -30,6 +30,7 @@ | |||
30 | 30 | ||
31 | #else /* no PCI - no IOMMU. */ | 31 | #else /* no PCI - no IOMMU. */ |
32 | 32 | ||
33 | struct scatterlist; | ||
33 | void *dma_alloc_coherent(struct device *dev, size_t size, | 34 | void *dma_alloc_coherent(struct device *dev, size_t size, |
34 | dma_addr_t *dma_handle, gfp_t gfp); | 35 | dma_addr_t *dma_handle, gfp_t gfp); |
35 | int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, | 36 | int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, |