diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-08-04 23:22:03 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-05 18:49:20 +0400 |
commit | a7d094297946e32da9bdf03cd5be1f6954d17ed3 (patch) | |
tree | 060448de363378786afd6277bf836071ea53e4e6 /sound/soc/kirkwood/kirkwood.h | |
parent | 8a537f85e9db8a43b323b0ffcf358c51448491de (diff) | |
download | linux-a7d094297946e32da9bdf03cd5be1f6954d17ed3.tar.xz |
ASoC: kirkwood: merge struct kirkwood_dma_priv with struct kirkwood_dma_data
Merge these two structures together; nothing other than the I2S and
DMA driver makes use of struct kirkwood_dma_data, and it's not like
struct kirkwood_dma_data is really just used to convey DMA specific
data to the backend; it's more a general shared structure between the
two halves.
This will later allow kirkwood-dma.c and kirkwood-i2s.c to be merged
together.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/kirkwood/kirkwood.h')
-rw-r--r-- | sound/soc/kirkwood/kirkwood.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/kirkwood/kirkwood.h b/sound/soc/kirkwood/kirkwood.h index 4d92637ddb3f..10a3aaafe0aa 100644 --- a/sound/soc/kirkwood/kirkwood.h +++ b/sound/soc/kirkwood/kirkwood.h @@ -129,6 +129,8 @@ struct kirkwood_dma_data { struct clk *extclk; uint32_t ctl_play; uint32_t ctl_rec; + struct snd_pcm_substream *substream_play; + struct snd_pcm_substream *substream_rec; int irq; int burst; }; |