aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/dev-asocdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-samsung/dev-asocdma.c')
-rw-r--r--arch/arm/plat-samsung/dev-asocdma.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/dev-asocdma.c b/arch/arm/plat-samsung/dev-asocdma.c
new file mode 100644
index 000000000000..b7b1fcaab814
--- /dev/null
+++ b/arch/arm/plat-samsung/dev-asocdma.c
@@ -0,0 +1,24 @@
1/* linux/arch/arm/plat-samsung/dev-asocdma.c
2 *
3 * Copyright (c) 2010 Samsung Electronics Co. Ltd
4 * Jaswinder Singh <jassi.brar@samsung.com>
5 *
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 */
10
11#include <linux/platform_device.h>
12#include <linux/dma-mapping.h>
13
14static u64 audio_dmamask = DMA_BIT_MASK(32);
15
16struct platform_device samsung_asoc_dma = {
17 .name = "samsung-audio",
18 .id = -1,
19 .dev = {
20 .dma_mask = &audio_dmamask,
21 .coherent_dma_mask = DMA_BIT_MASK(32),
22 }
23};
24EXPORT_SYMBOL(samsung_asoc_dma);