diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2008-10-13 15:58:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-14 13:23:27 -0400 |
commit | dec6d14da8b46e1f8bef6f570fb7418359cefcde (patch) | |
tree | 1f0617d8ae4808b3650113f4fc36da5e3f7a47bb /arch/m68k/kernel | |
parent | 7ae4833af0dda3bdfb65004856c3f83871fd8ce4 (diff) |
m68k: Add missing dma_sync_single_range_for_{cpu,device}()
| include/linux/ssb/ssb.h: In function 'ssb_dma_sync_single_range_for_cpu':
| include/linux/ssb/ssb.h:517: error: implicit declaration of function 'dma_sync_single_range_for_cpu'
| include/linux/ssb/ssb.h: In function 'ssb_dma_sync_single_range_for_device':
| include/linux/ssb/ssb.h:538: error: implicit declaration of function 'dma_sync_single_range_for_device'
Add the missing dma_sync_single_range_for_{cpu,device}(), and remove the
`inline' for the non-static function dma_sync_single_for_device().
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k/kernel')
-rw-r--r-- | arch/m68k/kernel/dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/kernel/dma.c b/arch/m68k/kernel/dma.c index 6f8c080dd9f9..2bb4245404d8 100644 --- a/arch/m68k/kernel/dma.c +++ b/arch/m68k/kernel/dma.c | |||
@@ -66,8 +66,8 @@ void dma_free_coherent(struct device *dev, size_t size, | |||
66 | } | 66 | } |
67 | EXPORT_SYMBOL(dma_free_coherent); | 67 | EXPORT_SYMBOL(dma_free_coherent); |
68 | 68 | ||
69 | inline void dma_sync_single_for_device(struct device *dev, dma_addr_t handle, size_t size, | 69 | void dma_sync_single_for_device(struct device *dev, dma_addr_t handle, |
70 | enum dma_data_direction dir) | 70 | size_t size, enum dma_data_direction dir) |
71 | { | 71 | { |
72 | switch (dir) { | 72 | switch (dir) { |
73 | case DMA_TO_DEVICE: | 73 | case DMA_TO_DEVICE: |