aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-07-09 13:13:30 -0400
committerJaroslav Kysela <perex@perex.cz>2008-07-10 03:32:59 -0400
commitaf13452820d075cb7153fe155ca796e64038d7e5 (patch)
tree9c498f931c0820c79c7e98455a1f16991808fda8
parentee2da99782d717b264d5c309a2084ca85e9a64ff (diff)
ALSA: wavefront - add const
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>
-rw-r--r--sound/isa/wavefront/wavefront_synth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/wavefront/wavefront_synth.c b/sound/isa/wavefront/wavefront_synth.c
index 95eeca163354..0bb9b9256601 100644
--- a/sound/isa/wavefront/wavefront_synth.c
+++ b/sound/isa/wavefront/wavefront_synth.c
@@ -1939,7 +1939,7 @@ static int __devinit
1939wavefront_download_firmware (snd_wavefront_t *dev, char *path) 1939wavefront_download_firmware (snd_wavefront_t *dev, char *path)
1940 1940
1941{ 1941{
1942 unsigned char *buf; 1942 const unsigned char *buf;
1943 int len, err; 1943 int len, err;
1944 int section_cnt_downloaded = 0; 1944 int section_cnt_downloaded = 0;
1945 const struct firmware *firmware; 1945 const struct firmware *firmware;