summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/dma-dummy.c
blob: be72a89657b23ca42bd93633fe27d1b7cefce254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * arch/arm/kernel/dma-dummy.c
 *
 * Copyright (C) 1998 Philip Blundell
 * Copyright (c) 1998 Russell King
 *
 * Dummy DMA functions
 */
#include <linux/errno.h>
#include <linux/init.h>

int request_dma(int channel, const char *device_id)
{
	return -EINVAL;
}

void free_dma(int channel)
{
}

int get_dma_list(char *buf)
{
	return 0;
}

__initfunc(void init_dma(void))
{
}