[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>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
3dd473ca58
commit
bfef0d35e5
@@ -151,7 +151,7 @@ static int _cx25821_start_audio_dma(struct cx25821_audio_dev *chip)
|
||||
{
|
||||
struct cx25821_audio_buffer *buf = chip->buf;
|
||||
struct cx25821_dev *dev = chip->dev;
|
||||
struct sram_channel *audio_ch =
|
||||
const struct sram_channel *audio_ch =
|
||||
&cx25821_sram_channels[AUDIO_SRAM_CHANNEL];
|
||||
u32 tmp = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user