From: David Gibson Date: Mon, 7 May 2007 02:13:36 +0000 (+1000) Subject: [POWERPC] Fix build problem in ppc4xx_sgdma.c X-Git-Tag: v2.6.22-rc1~358^2~26 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=0bd15c4b503b971024a3962b6a6b34c1af0628bf;p=linux-2.6-omap-h63xx.git [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 --- 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