Skip to content

Commit

Permalink
[POWERPC] Fix build problem in ppc4xx_sgdma.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Gibson authored and Paul Mackerras committed May 7, 2007
1 parent 2e1ee1f commit 0bd15c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ppc/syslib/ppc4xx_sgdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0bd15c4

Please sign in to comment.