diff options
| author | Art Haas <ahaas@airmail.net> | 2002-11-18 06:48:48 -0800 |
|---|---|---|
| committer | David Woodhouse <dwmw2@infradead.org> | 2002-11-18 06:48:48 -0800 |
| commit | 082c5d06f1873fd6b4069099ccdcf3bd3215dc66 (patch) | |
| tree | 570797578a3c48a95d5cee24a9bf7b01003ffaab | |
| parent | 938176595110f08502645af22fc50362aac9e99c (diff) | |
[PATCH] C99 initializer for drivers/parisc/ccio-dma.c
| -rw-r--r-- | drivers/parisc/ccio-dma.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/parisc/ccio-dma.c b/drivers/parisc/ccio-dma.c index 71ffe73116b8..9e6e5994334e 100644 --- a/drivers/parisc/ccio-dma.c +++ b/drivers/parisc/ccio-dma.c @@ -411,10 +411,9 @@ typedef unsigned long space_t; ** when it passes in BIDIRECTIONAL flag. */ static u32 hint_lookup[] = { - [PCI_DMA_BIDIRECTIONAL] HINT_STOP_MOST | HINT_SAFE_DMA | IOPDIR_VALID, - [PCI_DMA_TODEVICE] HINT_STOP_MOST | HINT_PREFETCH | IOPDIR_VALID, - [PCI_DMA_FROMDEVICE] HINT_STOP_MOST | IOPDIR_VALID, - [PCI_DMA_NONE] 0, /* not valid */ + [PCI_DMA_BIDIRECTIONAL] = HINT_STOP_MOST | HINT_SAFE_DMA | IOPDIR_VALID, + [PCI_DMA_TODEVICE] = HINT_STOP_MOST | HINT_PREFETCH | IOPDIR_VALID, + [PCI_DMA_FROMDEVICE] = HINT_STOP_MOST | IOPDIR_VALID, }; /** |
