diff options
Diffstat (limited to 'arch/mips/lantiq/xway/dma.c')
-rw-r--r-- | arch/mips/lantiq/xway/dma.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c index cbb6ae5747b..b210e936c7c 100644 --- a/arch/mips/lantiq/xway/dma.c +++ b/arch/mips/lantiq/xway/dma.c | |||
@@ -222,17 +222,17 @@ ltq_dma_init(void) | |||
222 | 222 | ||
223 | /* insert and request the memory region */ | 223 | /* insert and request the memory region */ |
224 | if (insert_resource(&iomem_resource, <q_dma_resource) < 0) | 224 | if (insert_resource(&iomem_resource, <q_dma_resource) < 0) |
225 | panic("Failed to insert dma memory\n"); | 225 | panic("Failed to insert dma memory"); |
226 | 226 | ||
227 | if (request_mem_region(ltq_dma_resource.start, | 227 | if (request_mem_region(ltq_dma_resource.start, |
228 | resource_size(<q_dma_resource), "dma") < 0) | 228 | resource_size(<q_dma_resource), "dma") < 0) |
229 | panic("Failed to request dma memory\n"); | 229 | panic("Failed to request dma memory"); |
230 | 230 | ||
231 | /* remap dma register range */ | 231 | /* remap dma register range */ |
232 | ltq_dma_membase = ioremap_nocache(ltq_dma_resource.start, | 232 | ltq_dma_membase = ioremap_nocache(ltq_dma_resource.start, |
233 | resource_size(<q_dma_resource)); | 233 | resource_size(<q_dma_resource)); |
234 | if (!ltq_dma_membase) | 234 | if (!ltq_dma_membase) |
235 | panic("Failed to remap dma memory\n"); | 235 | panic("Failed to remap dma memory"); |
236 | 236 | ||
237 | /* power up and reset the dma engine */ | 237 | /* power up and reset the dma engine */ |
238 | ltq_pmu_enable(PMU_DMA); | 238 | ltq_pmu_enable(PMU_DMA); |