diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-04-13 05:28:54 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-16 17:01:29 -0400 |
commit | bfef0d35e57c08dff295e3203d30f9ca4077415a (patch) | |
tree | e8cc8eeab902c7e4eec26a8be3d8a0d56bafa3d4 /drivers/media/pci/cx25821/cx25821-alsa.c | |
parent | 3dd473ca58838f1dd93e915cfa7a5c150186bb0f (diff) |
[media] cx25821: make cx25821_sram_channels const
And get rid of the channel0-11 external pointers and two more unused fields
in cx25821.h.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci/cx25821/cx25821-alsa.c')
-rw-r--r-- | drivers/media/pci/cx25821/cx25821-alsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/cx25821/cx25821-alsa.c b/drivers/media/pci/cx25821/cx25821-alsa.c index 1858a45dd081..b3cac75a4891 100644 --- a/drivers/media/pci/cx25821/cx25821-alsa.c +++ b/drivers/media/pci/cx25821/cx25821-alsa.c | |||
@@ -151,7 +151,7 @@ static int _cx25821_start_audio_dma(struct cx25821_audio_dev *chip) | |||
151 | { | 151 | { |
152 | struct cx25821_audio_buffer *buf = chip->buf; | 152 | struct cx25821_audio_buffer *buf = chip->buf; |
153 | struct cx25821_dev *dev = chip->dev; | 153 | struct cx25821_dev *dev = chip->dev; |
154 | struct sram_channel *audio_ch = | 154 | const struct sram_channel *audio_ch = |
155 | &cx25821_sram_channels[AUDIO_SRAM_CHANNEL]; | 155 | &cx25821_sram_channels[AUDIO_SRAM_CHANNEL]; |
156 | u32 tmp = 0; | 156 | u32 tmp = 0; |
157 | 157 | ||