Commit 9b8a3e4c authored by David Howells's avatar David Howells Committed by David Woodhouse

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: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 2bca76e8
...@@ -29,7 +29,7 @@ int cx18_av_loadfw(struct cx18 *cx) ...@@ -29,7 +29,7 @@ int cx18_av_loadfw(struct cx18 *cx)
const struct firmware *fw = NULL; const struct firmware *fw = NULL;
u32 size; u32 size;
u32 v; u32 v;
u8 *ptr; const u8 *ptr;
int i; int i;
if (request_firmware(&fw, FWFILE, &cx->dev->dev) != 0) { if (request_firmware(&fw, FWFILE, &cx->dev->dev) != 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment