summaryrefslogtreecommitdiffstats
path: root/sound/soc/davinci/davinci-pcm.h
diff options
context:
space:
mode:
authorHebbar, Gururaja2012-08-27 15:26:41 +0200
committerMark Brown2012-08-27 20:12:09 +0200
commit896f66b7de293644e65cf62600e4933af954dcf2 (patch)
treed95b9f67518495a0d1be2b4d4d1acc9b628ac200 /sound/soc/davinci/davinci-pcm.h
parentARM: Davinci: Remove references to davinci pcm (diff)
downloadkernel-qcow2-linux-896f66b7de293644e65cf62600e4933af954dcf2.tar.gz
kernel-qcow2-linux-896f66b7de293644e65cf62600e4933af954dcf2.tar.xz
kernel-qcow2-linux-896f66b7de293644e65cf62600e4933af954dcf2.zip
ASoC/ARM: Davinci: McASP: split asp header into platform and audio specific
Davinci McASP header & driver are shared by few OMAP platforms (like TI81xx, AM335x). Splitting asp header into Davinci platform specific header and Audio specific header helps to share them across platforms. Audio specific defines is moved to to common <linux/platform_data/davinci_asp.h> so that the header can be accessed by all related platforms. While here, correct the header usage (remove multiple header re-definitions and unused headers) and remove platform names from structures comments and enum. Also some some coding style errors. Signed-off-by: Hebbar, Gururaja <gururaja.hebbar@ti.com> Acked-by: Vaibhav Bedia <vaibhav.bedia@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/davinci/davinci-pcm.h')
-rw-r--r--sound/soc/davinci/davinci-pcm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/davinci/davinci-pcm.h b/sound/soc/davinci/davinci-pcm.h
index 5e5516460461..fc4d01cdd8c9 100644
--- a/sound/soc/davinci/davinci-pcm.h
+++ b/sound/soc/davinci/davinci-pcm.h
@@ -12,9 +12,8 @@
#ifndef _DAVINCI_PCM_H
#define _DAVINCI_PCM_H
+#include <linux/platform_data/davinci_asp.h>
#include <mach/edma.h>
-#include <mach/asp.h>
-
struct davinci_pcm_dma_params {
int channel; /* sync dma channel ID */