summaryrefslogtreecommitdiff
path: root/include/asm-ppc64
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2004-09-13 01:11:27 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-13 01:11:27 -0700
commit5c422c68d6e8cb32f6d3525858c5fb8bc71ef754 (patch)
treea18c3d50c8096577b99da2f72418984cceda07ee /include/asm-ppc64
parenta18e179afa0decaaf7fbc46c304d3ea0671c8847 (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/asm-ppc64')
-rw-r--r--include/asm-ppc64/dma-mapping.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-ppc64/dma-mapping.h b/include/asm-ppc64/dma-mapping.h
index 0cdc5346f6f8..1e05f389e72b 100644
--- a/include/asm-ppc64/dma-mapping.h
+++ b/include/asm-ppc64/dma-mapping.h
@@ -8,7 +8,6 @@
#define _ASM_DMA_MAPPING_H
#include <linux/types.h>
-#include <linux/device.h>
#include <linux/cache.h>
/* need struct page definitions */
#include <linux/mm.h>