From: David Howells Date: Tue, 8 Jul 2008 16:38:56 +0000 (+0100) Subject: Fix a const pointer error in the Conexant cx23418 MPEG encoder driver X-Git-Tag: v2.6.27-rc1~1094^2^2~32 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=9b8a3e4cb1361cf4b4a50916876e72f07a9037e9;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: David Woodhouse --- diff --git a/drivers/media/video/cx18/cx18-av-firmware.c b/drivers/media/video/cx18/cx18-av-firmware.c index 526e142156c..a1a6af6c1c8 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) {