summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/dma-dummy.c
blob: 7efc8536376b06ed25a121c27c118ca8c70b3d86 (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
29
30
31
/*
 * 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>
#include <linux/spinlock.h>

spinlock_t dma_spin_lock = SPIN_LOCK_UNLOCKED;

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

void free_dma(int channel)
{
}

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

void __init init_dma(void)
{
}