projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93a9c90
)
pcxhr: treat firmware data as const
author
David Woodhouse
<dwmw2@infradead.org>
Fri, 23 May 2008 23:02:28 +0000
(
00:02
+0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Thu, 10 Jul 2008 13:26:09 +0000
(14:26 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
sound/pci/pcxhr/pcxhr_core.c
patch
|
blob
|
history
diff --git
a/sound/pci/pcxhr/pcxhr_core.c
b/sound/pci/pcxhr/pcxhr_core.c
index
78aa81f
..
957e6af
100644
(file)
--- a/
sound/pci/pcxhr/pcxhr_core.c
+++ b/
sound/pci/pcxhr/pcxhr_core.c
@@
-269,7
+269,7
@@
int pcxhr_load_xilinx_binary(struct pcxhr_mgr *mgr, const struct firmware *xilin
unsigned int chipsc;
unsigned char data;
unsigned char mask;
- unsigned char *image;
+
const
unsigned char *image;
/* test first xilinx */
chipsc = PCXHR_INPL(mgr, PCXHR_PLX_CHIPSC);
@@
-316,7
+316,7
@@
static int pcxhr_download_dsp(struct pcxhr_mgr *mgr, const struct firmware *dsp)
int err;
unsigned int i;
unsigned int len;
- unsigned char *data;
+
const
unsigned char *data;
unsigned char dummy;
/* check the length of boot image */
snd_assert(dsp->size > 0, return -EINVAL);