aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2007-05-06 22:13:36 -0400
committerPaul Mackerras <paulus@samba.org>2007-05-07 06:31:16 -0400
commit0bd15c4b503b971024a3962b6a6b34c1af0628bf (patch)
treef68642caa5c09083012d7c0aa591fe345ab50651
parent2e1ee1f76684c5d4dd8e5a08cbf22d57f88769ed (diff)
[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>
-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 @@
23#include <linux/mm.h> 23#include <linux/mm.h>
24#include <linux/init.h> 24#include <linux/init.h>
25#include <linux/module.h> 25#include <linux/module.h>
26#include <linux/dma-mapping.h>
26#include <linux/pci.h> 27#include <linux/pci.h>
27 28
28#include <asm/system.h> 29#include <asm/system.h>
29#include <asm/io.h> 30#include <asm/io.h>
30#include <asm/dma-mapping.h>
31#include <asm/ppc4xx_dma.h> 31#include <asm/ppc4xx_dma.h>
32 32
33void 33void