diff options
Diffstat (limited to 'arch/sparc/mm/sun4c.c')
-rw-r--r-- | arch/sparc/mm/sun4c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc/mm/sun4c.c b/arch/sparc/mm/sun4c.c index 65af3119f5ac..f289e7ce902e 100644 --- a/arch/sparc/mm/sun4c.c +++ b/arch/sparc/mm/sun4c.c | |||
@@ -532,8 +532,8 @@ static inline void sun4c_init_ss2_cache_bug(void) | |||
532 | } | 532 | } |
533 | 533 | ||
534 | /* Addr is always aligned on a page boundary for us already. */ | 534 | /* Addr is always aligned on a page boundary for us already. */ |
535 | static int sun4c_map_dma_area(dma_addr_t *pba, unsigned long va, | 535 | static int sun4c_map_dma_area(struct device *dev, dma_addr_t *pba, unsigned long va, |
536 | unsigned long addr, int len) | 536 | unsigned long addr, int len) |
537 | { | 537 | { |
538 | unsigned long page, end; | 538 | unsigned long page, end; |
539 | 539 | ||
@@ -555,7 +555,7 @@ static int sun4c_map_dma_area(dma_addr_t *pba, unsigned long va, | |||
555 | return 0; | 555 | return 0; |
556 | } | 556 | } |
557 | 557 | ||
558 | static void sun4c_unmap_dma_area(unsigned long busa, int len) | 558 | static void sun4c_unmap_dma_area(struct device *dev, unsigned long busa, int len) |
559 | { | 559 | { |
560 | /* Fortunately for us, bus_addr == uncached_virt in sun4c. */ | 560 | /* Fortunately for us, bus_addr == uncached_virt in sun4c. */ |
561 | /* XXX Implement this */ | 561 | /* XXX Implement this */ |