diff options
| author | James Bottomley <jejb@raven.il.steeleye.com> | 2002-12-21 22:56:42 -0600 |
|---|---|---|
| committer | James Bottomley <jejb@raven.il.steeleye.com> | 2002-12-21 22:56:42 -0600 |
| commit | e6241a2756808dd63ef887463b952956dfd99fd5 (patch) | |
| tree | 8a9f4b814643965c88cc72068d0471b7265ef711 /include/asm-generic/dma-mapping.h | |
| parent | 4e375211e20eff9ad5382e3bfe2e7408907fd971 (diff) | |
remove PCI_NEW_DMA_COMPAT_API
use a #include mechanism for generic implementations of the pci_
API in terms of the dma_ one
Diffstat (limited to 'include/asm-generic/dma-mapping.h')
| -rw-r--r-- | include/asm-generic/dma-mapping.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-generic/dma-mapping.h b/include/asm-generic/dma-mapping.h index f1aa41ee93d9..ac107ddd3e30 100644 --- a/include/asm-generic/dma-mapping.h +++ b/include/asm-generic/dma-mapping.h @@ -10,6 +10,8 @@ /* we implement the API below in terms of the existing PCI one, * so include it */ #include <linux/pci.h> +/* need struct page definitions */ +#include <linux/mm.h> static inline int dma_supported(struct device *dev, u64 mask) |
