From 0bd15c4b503b971024a3962b6a6b34c1af0628bf Mon Sep 17 00:00:00 2001 From: David Gibson Date: Mon, 7 May 2007 12:13:36 +1000 Subject: [PATCH] [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 Signed-off-by: Paul Mackerras --- arch/ppc/syslib/ppc4xx_sgdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ppc/syslib/ppc4xx_sgdma.c b/arch/ppc/syslib/ppc4xx_sgdma.c index 939abe3c1f4..93349e48bfb 100644 --- a/arch/ppc/syslib/ppc4xx_sgdma.c +++ b/arch/ppc/syslib/ppc4xx_sgdma.c @@ -23,11 +23,11 @@ #include #include #include +#include #include #include #include -#include #include void -- 2.11.4.GIT