summaryrefslogtreecommitdiff
path: root/sound/soc/atmel/atmel-pcm.h
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2012-11-14 18:09:09 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-16 10:24:38 +0900
commitbe681a8275a4322e7b2301250b52247cce06c3be (patch)
tree4cbcc825e33e4d1f8ac6699dea2737f9f46f7725 /sound/soc/atmel/atmel-pcm.h
parent099343c64e1615ae83b0994197027be363ca4899 (diff)
ASoC: atmel-ssc-dai: register dai and pcm directly
change the method for register dai and pcm - let the atmel-ssc-dai no longer as a standalone platform device - remap ssc and then register dai directly - register pcm from dai directly - modify the code which related with this change Signed-off-by: Bo Shen <voice.shen@atmel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/atmel/atmel-pcm.h')
-rw-r--r--sound/soc/atmel/atmel-pcm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/atmel/atmel-pcm.h b/sound/soc/atmel/atmel-pcm.h
index 5e0a95e64329..e6d67b3dddd1 100644
--- a/sound/soc/atmel/atmel-pcm.h
+++ b/sound/soc/atmel/atmel-pcm.h
@@ -80,4 +80,7 @@ struct atmel_pcm_dma_params {
#define ssc_readx(base, reg) (__raw_readl((base) + (reg)))
#define ssc_writex(base, reg, value) __raw_writel((value), (base) + (reg))
+int atmel_pcm_platform_register(struct device *dev);
+void atmel_pcm_platform_unregister(struct device *dev);
+
#endif /* _ATMEL_PCM_H */