diff options
author | Mike Rapoport <mike@compulab.co.il> | 2009-12-22 01:31:04 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-12-22 10:32:32 -0500 |
commit | d9fd3ab89ff58ca70c8cc0eadc87cd4a96950f95 (patch) | |
tree | 6f2c68cd44f2547be20afefaf0eeb556a4f5ab12 /arch/arm/common | |
parent | db93dd1ad65172867a9f50a1c36874a7393b8c53 (diff) |
ARM: 5857/1: ARM: dmabounce: fix build
Commit f74f7e57ae9fa12b2951ae62ce3557799b318399 (ARM: use
flush_kernel_dcache_area() for dmabounce) has broken dmabounce build:
CC arch/arm/common/dmabounce.o
arch/arm/common/dmabounce.c: In function 'unmap_single':
arch/arm/common/dmabounce.c:315: error: implicit declaration of function '__cpuc_flush_kernel_dcache_area'
make[2]: *** [arch/arm/common/dmabounce.o] Error 1
Fix it.
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common')
-rw-r--r-- | arch/arm/common/dmabounce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/common/dmabounce.c b/arch/arm/common/dmabounce.c index bc90364a96c7..cc32c1e54a59 100644 --- a/arch/arm/common/dmabounce.c +++ b/arch/arm/common/dmabounce.c | |||
@@ -312,7 +312,7 @@ static inline void unmap_single(struct device *dev, dma_addr_t dma_addr, | |||
312 | * we need to ensure that the data will be coherent | 312 | * we need to ensure that the data will be coherent |
313 | * with user mappings. | 313 | * with user mappings. |
314 | */ | 314 | */ |
315 | __cpuc_flush_kernel_dcache_area(ptr, size); | 315 | __cpuc_flush_dcache_area(ptr, size); |
316 | } | 316 | } |
317 | free_safe_buffer(dev->archdata.dmabounce, buf); | 317 | free_safe_buffer(dev->archdata.dmabounce, buf); |
318 | } | 318 | } |