[ARM] dma: factor out code looking up the DMA channel
[linux-2.6-block.git] / arch / arm / mach-shark / dma.c
CommitLineData
1da177e4
LT
1/*
2 * linux/arch/arm/mach-shark/dma.c
3 *
4 * by Alexander Schulz
5 *
6 * derived from:
7 * arch/arm/kernel/dma-ebsa285.c
8 * Copyright (C) 1998 Phil Blundell
9 */
10
1da177e4
LT
11#include <linux/init.h>
12
13#include <asm/dma.h>
14#include <asm/mach/dma.h>
15
16void __init arch_dma_init(dma_t *dma)
17{
18#ifdef CONFIG_ISA_DMA
19 isa_init_dma(dma);
20#endif
21}