summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-av-firmware.c
diff options
context:
space:
mode:
authorDavid Howells2008-07-08 18:38:56 +0200
committerDavid Woodhouse2008-07-10 15:28:29 +0200
commit9b8a3e4cb1361cf4b4a50916876e72f07a9037e9 (patch)
tree8ce33b8190933b802872eb77b329b953afe67108 /drivers/media/video/cx18/cx18-av-firmware.c
parentFix a const assignment in moxa_load_fw() (diff)
downloadkernel-qcow2-linux-9b8a3e4cb1361cf4b4a50916876e72f07a9037e9.tar.gz
kernel-qcow2-linux-9b8a3e4cb1361cf4b4a50916876e72f07a9037e9.tar.xz
kernel-qcow2-linux-9b8a3e4cb1361cf4b4a50916876e72f07a9037e9.zip
Fix a const pointer error in the Conexant cx23418 MPEG encoder driver
Fix a const pointer to non-const pointer assignment error in the Conexant cx23418 MPEG encoder driver. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-av-firmware.c')
-rw-r--r--drivers/media/video/cx18/cx18-av-firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-av-firmware.c b/drivers/media/video/cx18/cx18-av-firmware.c
index 526e142156cd..a1a6af6c1c8f 100644
--- a/drivers/media/video/cx18/cx18-av-firmware.c
+++ b/drivers/media/video/cx18/cx18-av-firmware.c
@@ -29,7 +29,7 @@ int cx18_av_loadfw(struct cx18 *cx)
const struct firmware *fw = NULL;
u32 size;
u32 v;
- u8 *ptr;
+ const u8 *ptr;
int i;
if (request_firmware(&fw, FWFILE, &cx->dev->dev) != 0) {