summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx18-av-firmware.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-07-08 16:00:43 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-08 16:00:43 +0000
commit13a2a4d90910fc22d507fba16d54f6d5eb063013 (patch)
tree8de9bb7f86eff75bae99f2187509813f64314b78 /linux/drivers/media/video/cx18/cx18-av-firmware.c
parent9a6778b1591ecd3b9013907a600859a5faf0da00 (diff)
downloadmediapointer-dvb-s2-13a2a4d90910fc22d507fba16d54f6d5eb063013.tar.gz
mediapointer-dvb-s2-13a2a4d90910fc22d507fba16d54f6d5eb063013.tar.bz2
Fix a const pointer error in the Conexant cx23418 MPEG encoder driver
From: David Howells <dhowells@redhat.com> Fix a const pointer to non-const pointer assignment error in the Conexant cx23418 MPEG encoder driver. This was introduces in patch 1c1e45d17b663d4749af456ab7c2fc1f36405ef8. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-av-firmware.c')
-rw-r--r--linux/drivers/media/video/cx18/cx18-av-firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-av-firmware.c b/linux/drivers/media/video/cx18/cx18-av-firmware.c
index 6fa3b01a1..834b92482 100644
--- a/linux/drivers/media/video/cx18/cx18-av-firmware.c
+++ b/linux/drivers/media/video/cx18/cx18-av-firmware.c
@@ -30,7 +30,7 @@ int cx18_av_loadfw(struct cx18 *cx)
const struct firmware *fw = NULL;
u32 size;
u32 v;
- u8 *ptr;
+ const u8 *ptr;
int i;
int retries = 0;