diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-09-04 09:53:58 (GMT) |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-08 01:35:04 (GMT) |
commit | fa43972fab24a3c050e880a7831f9378c6cebc0b (patch) | |
tree | 35d51e6a0ac6556f82d843506e8317854dc3192c /arch/sh/mm/consistent.c | |
parent | 7d96169cb769f459dd6730b06fa3a88cb0c9297d (diff) | |
download | linux-fsl-qoriq-fa43972fab24a3c050e880a7831f9378c6cebc0b.tar.xz |
sh: fixup many sparse errors.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/consistent.c')
-rw-r--r-- | arch/sh/mm/consistent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/consistent.c b/arch/sh/mm/consistent.c index 64b8f7f..7619a0f 100644 --- a/arch/sh/mm/consistent.c +++ b/arch/sh/mm/consistent.c @@ -44,7 +44,7 @@ void *dma_alloc_coherent(struct device *dev, size_t size, */ dma_cache_sync(dev, ret, size, DMA_BIDIRECTIONAL); - ret_nocache = ioremap_nocache(virt_to_phys(ret), size); + ret_nocache = (void __force *)ioremap_nocache(virt_to_phys(ret), size); if (!ret_nocache) { free_pages((unsigned long)ret, order); return NULL; |