Commit 2118a037 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc32: Fix thinko in PCI_DMA_FOO to DMA_FOO conversion

From: Tom Rini <trini@kernel.crashing.org>

When I converted the use of PCI_DMA_foo constants to DMA_foo constants, I
forgot that it's PCI_DMA_FROMDEVICE and DMA_FROM_DEVICE.  The following
fixes that.
parent ee80ca7c
......@@ -145,7 +145,7 @@ void consistent_sync(void *vaddr, size_t size, int direction)
switch (direction) {
case DMA_NONE:
BUG();
case DMA_FROMDEVICE: /* invalidate only */
case DMA_FROM_DEVICE: /* invalidate only */
invalidate_dcache_range(start, end);
break;
case DMA_TODEVICE: /* writeback only */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment