Merge remote-tracking branch 'moduleh/module.h-split'
[linux-2.6/next.git] / arch / arm / plat-samsung / dev-asocdma.c
blob779a4f5c5a00d0bc0b9bddaa658dbdf0db675606
1 /* linux/arch/arm/plat-samsung/dev-asocdma.c
3 * Copyright (c) 2010 Samsung Electronics Co. Ltd
4 * Jaswinder Singh <jassi.brar@samsung.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
11 #include <linux/platform_device.h>
12 #include <linux/dma-mapping.h>
13 #include <linux/export.h>
14 #include <plat/devs.h>
16 static u64 audio_dmamask = DMA_BIT_MASK(32);
18 struct platform_device samsung_asoc_dma = {
19 .name = "samsung-audio",
20 .id = -1,
21 .dev = {
22 .dma_mask = &audio_dmamask,
23 .coherent_dma_mask = DMA_BIT_MASK(32),
26 EXPORT_SYMBOL(samsung_asoc_dma);
28 struct platform_device samsung_asoc_idma = {
29 .name = "samsung-idma",
30 .id = -1,
31 .dev = {
32 .dma_mask = &audio_dmamask,
33 .coherent_dma_mask = DMA_BIT_MASK(32),
36 EXPORT_SYMBOL(samsung_asoc_idma);