projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee2da99
)
ALSA: wavefront - add const
author
Takashi Iwai
<tiwai@suse.de>
Wed, 9 Jul 2008 17:13:30 +0000
(19:13 +0200)
committer
Jaroslav Kysela
<perex@perex.cz>
Thu, 10 Jul 2008 07:32:59 +0000
(09:32 +0200)
Fix const to non-const pointer cast warning in wavefront_synth.c.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/isa/wavefront/wavefront_synth.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/isa/wavefront/wavefront_synth.c
b/sound/isa/wavefront/wavefront_synth.c
index 95eeca163354b5303b89554bdeafb8053bc54fcd..0bb9b92566010875f148106c8423bf04a5b3cff8 100644
(file)
--- a/
sound/isa/wavefront/wavefront_synth.c
+++ b/
sound/isa/wavefront/wavefront_synth.c
@@
-1939,7
+1939,7
@@
static int __devinit
wavefront_download_firmware (snd_wavefront_t *dev, char *path)
{
- unsigned char *buf;
+
const
unsigned char *buf;
int len, err;
int section_cnt_downloaded = 0;
const struct firmware *firmware;