Commit 082c5d06 authored by Art Haas's avatar Art Haas Committed by David Woodhouse

[PATCH] C99 initializer for drivers/parisc/ccio-dma.c

parent 93817659
...@@ -411,10 +411,9 @@ typedef unsigned long space_t; ...@@ -411,10 +411,9 @@ typedef unsigned long space_t;
** when it passes in BIDIRECTIONAL flag. ** when it passes in BIDIRECTIONAL flag.
*/ */
static u32 hint_lookup[] = { static u32 hint_lookup[] = {
[PCI_DMA_BIDIRECTIONAL] HINT_STOP_MOST | HINT_SAFE_DMA | IOPDIR_VALID, [PCI_DMA_BIDIRECTIONAL] = HINT_STOP_MOST | HINT_SAFE_DMA | IOPDIR_VALID,
[PCI_DMA_TODEVICE] HINT_STOP_MOST | HINT_PREFETCH | IOPDIR_VALID, [PCI_DMA_TODEVICE] = HINT_STOP_MOST | HINT_PREFETCH | IOPDIR_VALID,
[PCI_DMA_FROMDEVICE] HINT_STOP_MOST | IOPDIR_VALID, [PCI_DMA_FROMDEVICE] = HINT_STOP_MOST | IOPDIR_VALID,
[PCI_DMA_NONE] 0, /* not valid */
}; };
/** /**
......
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