[PATCH] ARM: Samsung: Make sure ASoC DMA device is prototyped

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Nov 24 10:53:03 EST 2010


Ensure that the prototype agrees with the definition and stop sparse
complaining when building the file.

Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 arch/arm/plat-samsung/dev-asocdma.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-samsung/dev-asocdma.c b/arch/arm/plat-samsung/dev-asocdma.c
index b7b1fca..a068c4f 100644
--- a/arch/arm/plat-samsung/dev-asocdma.c
+++ b/arch/arm/plat-samsung/dev-asocdma.c
@@ -10,6 +10,7 @@
 
 #include <linux/platform_device.h>
 #include <linux/dma-mapping.h>
+#include <plat/devs.h>
 
 static u64 audio_dmamask = DMA_BIT_MASK(32);
 
-- 
1.7.1




More information about the linux-arm-kernel mailing list