diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-08-25 09:12:35 +0000 |
commit | c7fc24dc4420057f103afe8fc64524ebc25c5d37 (patch) | |
tree | 3682407a599b8f9f03fc096298134cafba1c9b2f /arch/arm/kernel/dma-dummy.c | |
parent | 1d793fade8b063fde3cf275bf1a5c2d381292cd9 (diff) |
o Merge with Linux 2.1.116.
o New Newport console code.
o New G364 console code.
Diffstat (limited to 'arch/arm/kernel/dma-dummy.c')
-rw-r--r-- | arch/arm/kernel/dma-dummy.c | 31 |
1 files changed, 7 insertions, 24 deletions
diff --git a/arch/arm/kernel/dma-dummy.c b/arch/arm/kernel/dma-dummy.c index af47512dd..be72a8965 100644 --- a/arch/arm/kernel/dma-dummy.c +++ b/arch/arm/kernel/dma-dummy.c @@ -1,45 +1,28 @@ /* * arch/arm/kernel/dma-dummy.c * - * Copyright (C) 1998 Russell King + * Copyright (C) 1998 Philip Blundell + * Copyright (c) 1998 Russell King * * Dummy DMA functions */ -#include <linux/sched.h> +#include <linux/errno.h> #include <linux/init.h> -#include <asm/dma.h> -#include <asm/io.h> -#include <asm/hardware.h> - -#include "dma.h" - -int arch_request_dma(dmach_t channel, dma_t *dma, const char *devname) +int request_dma(int channel, const char *device_id) { return -EINVAL; } -void arch_free_dma(dmach_t channel, dma_t *dma) -{ - printk ("arch_free_dma: invalid channel %d\n", channel); -} - -void arch_enable_dma(dmach_t channel, dma_t *dma) -{ - printk ("arch_enable_dma: invalid channel %d\n", channel); -} - -void arch_disable_dma(dmach_t channel, dma_t *dma) +void free_dma(int channel) { - printk ("arch_disable_dma: invalid channel %d\n", channel); } -int arch_get_dma_residue(dmach_t channel, dma_t *dma) +int get_dma_list(char *buf) { - printk ("arch_get_dma_residue: invalid channel %d\n", channel); return 0; } -__initfunc(void arch_dma_init(dma_t *dma)) +__initfunc(void init_dma(void)) { } |