summaryrefslogtreecommitdiffstats
path: root/arch/ppc/syslib
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2007-05-07 04:13:36 +0200
committerPaul Mackerras <paulus@samba.org>2007-05-07 12:31:16 +0200
commit0bd15c4b503b971024a3962b6a6b34c1af0628bf (patch)
treef68642caa5c09083012d7c0aa591fe345ab50651 /arch/ppc/syslib
parent[POWERPC] mpc52xx suspend to deep-sleep (diff)
downloadlinux-0bd15c4b503b971024a3962b6a6b34c1af0628bf.tar.xz
linux-0bd15c4b503b971024a3962b6a6b34c1af0628bf.zip
[POWERPC] Fix build problem in ppc4xx_sgdma.c
ppc4xx_sgdma.c is #including asm/dma-mapping.h directly, which should only ever be included via linux/dma-mapping.h. asm/dma-mapping.h relies on an enum defined in linux/dma-mapping.h before its own include. This fixes the problem. Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/syslib')
-rw-r--r--arch/ppc/syslib/ppc4xx_sgdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/syslib/ppc4xx_sgdma.c b/arch/ppc/syslib/ppc4xx_sgdma.c
index 939abe3c1f45..93349e48bfbf 100644
--- a/arch/ppc/syslib/ppc4xx_sgdma.c
+++ b/arch/ppc/syslib/ppc4xx_sgdma.c
@@ -23,11 +23,11 @@
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/module.h>
+#include <linux/dma-mapping.h>
#include <linux/pci.h>
#include <asm/system.h>
#include <asm/io.h>
-#include <asm/dma-mapping.h>
#include <asm/ppc4xx_dma.h>
void