summaryrefslogtreecommitdiffstats
path: root/sound/soc/au1x/psc.h
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@googlemail.com>2011-07-25 13:45:02 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-07-27 20:16:23 +0200
commit5b0912be7a8ff1dbfe56358c5f933d65445bb8af (patch)
tree6b0681c2a5e783be00d4f404ad902596b3235b9f /sound/soc/au1x/psc.h
parentALSA: deprecate MIPS AU1X00 AC97 driver (diff)
downloadlinux-5b0912be7a8ff1dbfe56358c5f933d65445bb8af.tar.xz
linux-5b0912be7a8ff1dbfe56358c5f933d65445bb8af.zip
ASoC: au1x: remove automatic DMA device registration from PSC drivers
The PSC audio drivers (psc-ac97/psc-i2s) register the DMA platform_device on their own. This is frowned upon, from now on board code must register a simple pcm dma platform device for each PSC with sound duties. Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com> Acked-by: Ralf Baechle <ralf@linux-mips.org> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/au1x/psc.h')
-rw-r--r--sound/soc/au1x/psc.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/au1x/psc.h b/sound/soc/au1x/psc.h
index c59b9e544e72..1b21c4ffae12 100644
--- a/sound/soc/au1x/psc.h
+++ b/sound/soc/au1x/psc.h
@@ -19,10 +19,6 @@
#define SUBSTREAM_TYPE(substream) \
((substream)->stream == SNDRV_PCM_STREAM_PLAYBACK ? PCM_TX : PCM_RX)
-/* PSC/DBDMA helpers */
-extern struct platform_device *au1xpsc_pcm_add(struct platform_device *pdev);
-extern void au1xpsc_pcm_destroy(struct platform_device *dmapd);
-
struct au1xpsc_audio_data {
void __iomem *mmio;
@@ -34,7 +30,6 @@ struct au1xpsc_audio_data {
unsigned long pm[2];
struct mutex lock;
int dmaids[2];
- struct platform_device *dmapd;
};
/* easy access macros */