]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Fix a const pointer error in the Conexant cx23418 MPEG encoder driver
authorDavid Howells <dhowells@redhat.com>
Tue, 8 Jul 2008 16:38:56 +0000 (17:38 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 10 Jul 2008 13:28:29 +0000 (14:28 +0100)
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>
drivers/media/video/cx18/cx18-av-firmware.c

index 526e142156cd6c969ef6c7b1595242f4819a64a2..a1a6af6c1c8f5888a83432b35bbf4d5b69bac2fe 100644 (file)
@@ -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) {