diff options
| author | Nicolas Pitre <nico@cam.org> | 2004-09-13 01:11:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-13 01:11:27 -0700 |
| commit | 5c422c68d6e8cb32f6d3525858c5fb8bc71ef754 (patch) | |
| tree | a18c3d50c8096577b99da2f72418984cceda07ee /include/linux | |
| parent | a18e179afa0decaaf7fbc46c304d3ea0671c8847 (diff) | |
[PATCH] linux/dma-mapping.h needs linux/device.h
It seems that most architectures already include linux/device.h in their
own asm/dma-mapping.h. Most but not all, and some drivers fail to
compile on those architectures that don't. Since everybody needs it
let's include device.h from one place only and fix compilation for
everybody.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/dma-mapping.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index 3c545e326d57..806c305332c1 100644 --- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h @@ -1,6 +1,7 @@ #ifndef _ASM_LINUX_DMA_MAPPING_H #define _ASM_LINUX_DMA_MAPPING_H +#include <linux/device.h> #include <linux/err.h> /* These definitions mirror those in pci.h, so they can be used |
