Merge tag 'media/v4.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[deliverable/linux.git] / arch / m68k / coldfire / dma.c
CommitLineData
dad263b8
GU
1/***************************************************************************/
2
3/*
4 * dma.c -- Freescale ColdFire DMA support
5 *
6 * Copyright (C) 2007, Greg Ungerer (gerg@snapgear.com)
7 */
8
9/***************************************************************************/
10
11#include <linux/kernel.h>
2c7f3feb 12#include <linux/module.h>
dad263b8
GU
13#include <asm/dma.h>
14#include <asm/coldfire.h>
15#include <asm/mcfsim.h>
16#include <asm/mcfdma.h>
17
18/***************************************************************************/
19
20/*
21 * DMA channel base address table.
22 */
23unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = {
24#ifdef MCFDMA_BASE0
babc08b7 25 MCFDMA_BASE0,
dad263b8
GU
26#endif
27#ifdef MCFDMA_BASE1
babc08b7 28 MCFDMA_BASE1,
dad263b8
GU
29#endif
30#ifdef MCFDMA_BASE2
babc08b7 31 MCFDMA_BASE2,
dad263b8
GU
32#endif
33#ifdef MCFDMA_BASE3
babc08b7 34 MCFDMA_BASE3,
dad263b8
GU
35#endif
36};
2c7f3feb 37EXPORT_SYMBOL(dma_base_addr);
dad263b8
GU
38
39unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS];
2c7f3feb 40EXPORT_SYMBOL(dma_device_address);
dad263b8
GU
41
42/***************************************************************************/
This page took 0.537026 seconds and 5 git commands to generate.