diff options
author | David Howells <dhowells@redhat.com> | 2008-07-08 12:38:56 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-07-10 09:28:29 -0400 |
commit | 9b8a3e4cb1361cf4b4a50916876e72f07a9037e9 (patch) | |
tree | 8ce33b8190933b802872eb77b329b953afe67108 /drivers | |
parent | 2bca76e89bc43f86136080536858048ebffab3e3 (diff) |
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')
-rw-r--r-- | drivers/media/video/cx18/cx18-av-firmware.c | 2 |
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) | |||
29 | const struct firmware *fw = NULL; | 29 | const struct firmware *fw = NULL; |
30 | u32 size; | 30 | u32 size; |
31 | u32 v; | 31 | u32 v; |
32 | u8 *ptr; | 32 | const u8 *ptr; |
33 | int i; | 33 | int i; |
34 | 34 | ||
35 | if (request_firmware(&fw, FWFILE, &cx->dev->dev) != 0) { | 35 | if (request_firmware(&fw, FWFILE, &cx->dev->dev) != 0) { |