diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2009-10-13 14:22:34 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 06:52:54 -0500 |
commit | ea071cc705e8bfba0c8bf84be8d4f9f4e9da6962 (patch) | |
tree | 9dafff9da1740dcfc475100b4d5dae963650cfd1 /arch/mips/alchemy | |
parent | f1fc6645a4d2cb944320ce8ed1e40f88059779e1 (diff) |
MIPS: Alchemy: remove dbdma compat macros
Remove dbdma compat macros, move remaining users over to default
queueing functions and -flags.
(Queueing function signature has changed in order to give
a build failure instead of silent functional changes due
to the no longer implicitly specified DDMA_FLAGS_IE flag)
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/alchemy')
-rw-r--r-- | arch/mips/alchemy/common/dbdma.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/mips/alchemy/common/dbdma.c b/arch/mips/alchemy/common/dbdma.c index 549b18f3c18b..864b6dab6368 100644 --- a/arch/mips/alchemy/common/dbdma.c +++ b/arch/mips/alchemy/common/dbdma.c | |||
@@ -571,7 +571,7 @@ EXPORT_SYMBOL(au1xxx_dbdma_ring_alloc); | |||
571 | * This updates the source pointer and byte count. Normally used | 571 | * This updates the source pointer and byte count. Normally used |
572 | * for memory to fifo transfers. | 572 | * for memory to fifo transfers. |
573 | */ | 573 | */ |
574 | u32 _au1xxx_dbdma_put_source(u32 chanid, void *buf, int nbytes, u32 flags) | 574 | u32 au1xxx_dbdma_put_source(u32 chanid, void *buf, int nbytes, u32 flags) |
575 | { | 575 | { |
576 | chan_tab_t *ctp; | 576 | chan_tab_t *ctp; |
577 | au1x_ddma_desc_t *dp; | 577 | au1x_ddma_desc_t *dp; |
@@ -624,14 +624,13 @@ u32 _au1xxx_dbdma_put_source(u32 chanid, void *buf, int nbytes, u32 flags) | |||
624 | /* Return something non-zero. */ | 624 | /* Return something non-zero. */ |
625 | return nbytes; | 625 | return nbytes; |
626 | } | 626 | } |
627 | EXPORT_SYMBOL(_au1xxx_dbdma_put_source); | 627 | EXPORT_SYMBOL(au1xxx_dbdma_put_source); |
628 | 628 | ||
629 | /* Put a destination buffer into the DMA ring. | 629 | /* Put a destination buffer into the DMA ring. |
630 | * This updates the destination pointer and byte count. Normally used | 630 | * This updates the destination pointer and byte count. Normally used |
631 | * to place an empty buffer into the ring for fifo to memory transfers. | 631 | * to place an empty buffer into the ring for fifo to memory transfers. |
632 | */ | 632 | */ |
633 | u32 | 633 | u32 au1xxx_dbdma_put_dest(u32 chanid, void *buf, int nbytes, u32 flags) |
634 | _au1xxx_dbdma_put_dest(u32 chanid, void *buf, int nbytes, u32 flags) | ||
635 | { | 634 | { |
636 | chan_tab_t *ctp; | 635 | chan_tab_t *ctp; |
637 | au1x_ddma_desc_t *dp; | 636 | au1x_ddma_desc_t *dp; |
@@ -687,7 +686,7 @@ _au1xxx_dbdma_put_dest(u32 chanid, void *buf, int nbytes, u32 flags) | |||
687 | /* Return something non-zero. */ | 686 | /* Return something non-zero. */ |
688 | return nbytes; | 687 | return nbytes; |
689 | } | 688 | } |
690 | EXPORT_SYMBOL(_au1xxx_dbdma_put_dest); | 689 | EXPORT_SYMBOL(au1xxx_dbdma_put_dest); |
691 | 690 | ||
692 | /* | 691 | /* |
693 | * Get a destination buffer into the DMA ring. | 692 | * Get a destination buffer into the DMA ring. |