summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/dma-no-isa.c
blob: 6df8b07741e313a1f0ddb9f8586f1b0cc53009f7 (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
/*
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (C) 2004 by Ralf Baechle
 *
 * Dummy ISA DMA functions for systems that don't have ISA but share drivers
 * with ISA such as legacy free PCI.
 */
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/spinlock.h>

DEFINE_SPINLOCK(dma_spin_lock);

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

void free_dma(unsigned int dmanr)
{
}

EXPORT_SYMBOL(dma_spin_lock);
EXPORT_SYMBOL(request_dma);
EXPORT_SYMBOL(free_dma);
OpenPOWER on IntegriCloud