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>
This commit is contained in:
committed by
David Woodhouse
parent
2bca76e89b
commit
9b8a3e4cb1
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user