mirror of
https://github.com/torvalds/linux.git
synced 2024-12-21 02:21:36 +00:00
77c667d136
Ensure that the prototype agrees with the definition and stop sparse complaining when building the file. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Kukjin Kim <kgene.kim@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
26 lines
693 B
C
26 lines
693 B
C
/* linux/arch/arm/plat-samsung/dev-asocdma.c
|
|
*
|
|
* Copyright (c) 2010 Samsung Electronics Co. Ltd
|
|
* Jaswinder Singh <jassi.brar@samsung.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#include <linux/platform_device.h>
|
|
#include <linux/dma-mapping.h>
|
|
#include <plat/devs.h>
|
|
|
|
static u64 audio_dmamask = DMA_BIT_MASK(32);
|
|
|
|
struct platform_device samsung_asoc_dma = {
|
|
.name = "samsung-audio",
|
|
.id = -1,
|
|
.dev = {
|
|
.dma_mask = &audio_dmamask,
|
|
.coherent_dma_mask = DMA_BIT_MASK(32),
|
|
}
|
|
};
|
|
EXPORT_SYMBOL(samsung_asoc_dma);
|